how to call a plugin function

the example of
Test Plugin in extra folder of xojo installation path.

to export a function use below.
REALRegisterMethod(&add5defn);

build the plugin and put testpluginl.xojo_plugin to plugins folder.

on the IDE ,type add5defn,just no find the funciton.

why?

Did you restart the IDE after you put the plugin in the folder? Plugins are loaded at IDE startup.

yes,restarted,and find the “box” control on the right panel.

in the IDE type the name of the command.
Not the name of the Definition structure.

type add5defn ?not corret…

As I expected. Type name of command.

thankyou.