AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
*     R0 =     command string
     R1 =     argument buffer (2048 bytes)
*     R0 =     number of arguments
     Argument buffer filled

This SWI parses a command string in a C-style fashion (ie. it uses "foo\"bar" instead of "foo""bar"), chopping it up into a list of arguments.

The buffer can contain up to 255 arguments. Its format is
     char * [256]          256 string pointers
     char   [1024]          the string buffer
Strings are NUL-terminated; the first N pointers point into the string buffer, and the next pointer is 0. (N is the number of arguments.)

[sh-index] Back to list of manuals