GET COMMANDS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Command|syntax= | [[:Category:Miscellaneous|{{Up}}]] | ||
|description=Creates a file that lists all the commands in the macro language. | |||
{{Command|syntax=GET_COMMANDS <filename>, [<option>], [<ver 1>, <ver 2>, <ver 3>] | |||
|description=:Creates a file that lists all the commands in the macro language. | |||
|param1=<filename>|param1_desc={{filename}} | |param1=<filename>|param1_desc={{filename}} | ||
|param2=[<option>]|param2_desc= | |param2=[<option>]|param2_desc=Set to 1 for commands only, or 2 for commands plus brief notes. | ||
|param3=[<ver 1>]|param3_desc= | |param3=[<ver 1>]|param3_desc=GibbsCAM Version number, part 1 | ||
|param4=[<ver 2>]|param4_desc= | |param4=[<ver 2>]|param4_desc=GibbsCAM Version number, part 2 | ||
|param5=[<ver 3>]|param5_desc= | |param5=[<ver 3>]|param5_desc=GibbsCAM Version number, part 3 | ||
:If you specify the GibbsCAM version number, then the file will only contain commands available since that version of GibbsCAM. | |||
}} | }} | ||
===Example=== | ===Example=== | ||
:GET_COMMANDS | :GET_COMMANDS "Commands.txt" (to get commands only) | ||
:GET_COMMANDS "Commands.txt", 1, 9, 5, 22 (to get commands added since version 9.5.22) | |||
<br> | |||
:For an example macro see [[Get_Commands]] | |||
[[Category:Miscellaneous]] | [[Category:Miscellaneous]] |
Latest revision as of 22:41, 12 January 2011
Command
- GET_COMMANDS <filename>, [<option>], [<ver 1>, <ver 2>, <ver 3>]
- Creates a file that lists all the commands in the macro language.
Parameters
- <filename>
- Filename as either text in double quotes, or a text variable.
- If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
- [<option>]
- Set to 1 for commands only, or 2 for commands plus brief notes.
- [<ver 1>]
- GibbsCAM Version number, part 1
- [<ver 2>]
- GibbsCAM Version number, part 2
- [<ver 3>]
- GibbsCAM Version number, part 3
- If you specify the GibbsCAM version number, then the file will only contain commands available since that version of GibbsCAM.
Example
- GET_COMMANDS "Commands.txt" (to get commands only)
- GET_COMMANDS "Commands.txt", 1, 9, 5, 22 (to get commands added since version 9.5.22)
- For an example macro see Get_Commands