mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-25 21:33:44 +00:00
20 lines
624 B
Plaintext
20 lines
624 B
Plaintext
/*************************************
|
|
* Command Line Parameters Processor *
|
|
*************************************/
|
|
|
|
#define ARGFLG $00 //Argument Parser Flag
|
|
#define ARGSEP $20 //Argument Delimiter
|
|
#define ARGEND $8D //Argument Terminator
|
|
#define ARGMSK $7F //Argument Mask
|
|
|
|
/* 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(); |