This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
manual:chapter7:userlibs [2021/10/05 02:16] jojo1973 |
manual:chapter7:userlibs [2021/10/12 07:08] (current) jojo1973 [Creating a new library] |
<code> | <code> |
{ | { |
{ <Ident> <NArgs> <AllowInSymb> <HelpText> } | { |
{ <Ident> <NArgs> <AllowInSymb> <HelpText> } | <Ident> |
| <NArgs> |
| <AllowInSymb> |
| <HelpText> |
| } |
... | ... |
} | } |
| |
=== $MENU === | === $MENU === |
This is an optional variable: the ''[[manual:chapter6:libptr:cmd_crlib|CRLIB]]'' command will automatically create a menu with all the visible commands in the same order as listed in ''$VISIBLE''. If the library requires other types of menu, a complete menu definition can be included in ''$MENU''. If a custom ''$MENU'' is given, the ''<HelpText>'' field given in ''$VISIBLE'' is simply ignored (the help must be provided as part of the custom menu), but must nevertheless exist (an empty string ''""'' can be used in this case). | This is an optional variable: the ''[[manual:chapter6:libptr:cmd_crlib|CRLIB]]'' command will automatically create a menu with all the visible commands in the same order as listed in ''$VISIBLE''. If the library requires other types of menu, a [[manual:chapter7:custmenu|complete menu definition]] can be included in ''$MENU''. If a custom ''$MENU'' is given, the ''<HelpText>'' field given in ''$VISIBLE'' is simply ignored (the help must be provided as part of the custom menu), but cannot be omitted: an empty string ''""'' can be used in this case. |
| |
=== $IGNORE === | === $IGNORE === |