|
if (argc < 3) {
See Print usage description
}
process = argv[2];
switch (argc) {
case 3:
command_stack = command_add (NULL, argv[1], 0);
break;
case 4:
command_stack = command_add (NULL, argv[1], 1, argv[3]);
break;
case 5:
command_stack = command_add (NULL, argv[1], 2, argv[3], argv[4]);
break;
case 6:
command_stack = command_add (NULL, argv[1], 3, argv[3], argv[4], argv[5]);
break;
case 7:
command_stack = command_add (NULL, argv[1], 4, argv[3], argv[4], argv[5], argv[6]);
break;
}
[ Previous: Interpreting the process definition ]
[ Top: wftk core index ]
[ Next: Printing the current stack as a locator ]
This code and documentation are released under the terms of the GNU license. They are
additionally copyright (c) 2000, Vivtek. All rights reserved except those explicitly
granted under the terms of the GNU license.
|
|