ds_GetPluginRoutines


ds_GetPluginRoutines (plugName; plugRoutines {; selector}) <- errorCode
Parameter Type Description
-> plugName Text Name of the plugin
<- plugRoutines String/Text array Names of the routines
-> selector Numeric Format of the names
<- errorCode Long Integer Error Code (0 = no error, -192 if no routines are described)


Returns the list of the routines of the plugin named plugName. Depending on the value of selector, the names will be less or more long:

0 : full name of the routines (name with parameters as the plugin declare them for 4D)

Example : "ds_GetMethodNames(&Y;&S;&Y;&Y):L"

1 : Name of the theme + "/" + full name of the routine.

Example : "Methods/ds_GetMethodNames(&Y;&S;&Y;&Y):L"

2 : Name without the parameters

Example : "ds_GetMethodNames"

4 : Name of the theme + "/" + Name without the parameters

Example : "Methods /ds_GetMethodNames"

If the plugin is a "stub plugin" and it does not have any "STR#" resource describing its routines, ds_GetPluginRoutines returns error -192 ("Resource not found").