toka.nbk: Home | Index | Next Page: Commenting Code | Previous Page: class.c


 cmdline.c

Use

Build the list of command line arguments that Toka programs can access. This is a subset of the full arguments passed to the toka executable.

Functions Provided

Variables:
  long arg_count
  Holds the number of command line arguments

  char *arg_list[128]
  Holds the list of command line arguments. 

num_args()
Return the number of arguments, not including the
file names used to launch this program.

get_arg_list()
Return the number of arguments, not including the
file names used to launch this program.

build_arg_list(char *args[], long count)
Copy pointers to the command line arguments to
arg_list[]. Also sets arg_count.

Primitives Provided

#args
arglist

toka.nbk: Home | Index | Next Page: Commenting Code | Previous Page: class.c


Notebook exported on Sunday, 1 July 2007, 19:54:43 PM EDT