Zap commands
Julie Stamp (8365) 474 posts |
Does anyone have a list of commands recognised by Zap? |
David Pitt (3386) 1248 posts |
A bit of archeology found a list at HTH. |
Julie Stamp (8365) 474 posts |
Thanks David. There are a lot! It looks like that file is made by ZapCode:Config.CreateConf out of the HelpData inside of each module application and the one in ZapResources: for the built-in commands, with the HelpData files all being handwritten. |
Julie Stamp (8365) 474 posts |
Ingenious! I found a more concise list of module commands at ZapGenerated:External, though it doesn’t have the built-ins. It’s generated by MakeExtern. Darren Salt’s MakeExtern (ZapCode:Tools.MakeExtern) uses a nifty trick to find command lists within each module image. Both the mode table and command table have first word the offset of the table within the module. So scanning through the module for words that contain their own offset gets you the tables. There is a concise ‘list’ of built-in commands with the main module image ZapCode:Zap. |