EQU.CMDLINE

From Pickwiki
Jump to navigationJump to search

HomePage>>SourceCode>>BasicSource>>SVN>>SvnSource

SVN Source code; once all source is compiled and cataloged, 'SVN -H' will show usage.

* ====================================== EQU.CMDLINE ===============================
* Used to Parse the [[UniVerse]] Command line using a standardized format
* ==================================================================================
* 14-Nov-03 New 'stupid UV' tricks !
* ==================================================================================
*
* See documentation in 'PARSE.CMDLINE'
*
* ==================================================================================
 
* COMMON [[/CMDLINE]]/ CMDLINE(9)

 dim CMDLINE(19)

 equ CMD.VERB     to CMDLINE(1)
 equ CMD.HELP     to CMDLINE(2)
 equ CMD.ARG.S    to CMDLINE(3)
 equ CMD.OPTION.S to CMDLINE(4)
 equ CMD.FLAG.S   to CMDLINE(5)
 equ CMD.PARAM.S  to CMDLINE(6)

 * These are 'computed'; just use array pos's for convenience:
 equ CMD.NUM.ARGS     to CMDLINE(11)
 equ CMD.NUM.OPTIONS  to CMDLINE(12)
 equ CMD.NUM.FLAGS    to CMDLINE(13)