args.f

This source file supplies all the words you would need to handle command line argumements within your application. To do this you supply a list of valid arguements and this code will parse each token out of the command line and return to you an index indicating which arguement it found if any.

If a command line arguement also requires parameters supplied on the command line you can then manually parse them out using this module and process them accodringly.

arg#
( --- n1 )

This var contains the index into the argp[] array to the next argument to be parsed out of the processes command line. This should be cleared by you prior to calling any words within this module.

arglist
( --- a1 )

This var contains a pointer to a user supplied array of valid arguments. This must be set prior to calling any of the words in this module.