mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 21:33:44 +00:00
19 lines
588 B
Plaintext
19 lines
588 B
Plaintext
|
/*************************************
|
||
|
* Command Line Parameters Processor *
|
||
|
*************************************/
|
||
|
|
||
|
#define ARGFLG $00 //Argument Parser Flag
|
||
|
#define ARGSEP $20 //Argument Delimiter
|
||
|
#define ARGEND $8D //Argument Terminator
|
||
|
|
||
|
/* Set up Argument List *
|
||
|
* Returns: char $00 = Success *
|
||
|
* $FF = No Args */
|
||
|
void argset();
|
||
|
|
||
|
/* Get Next Argument *
|
||
|
* Setup: argset() Before First Call *
|
||
|
* Args: &s - String to Populate *
|
||
|
* Returns: char Length of String *
|
||
|
* 0 = End of List */
|
||
|
void argget();
|