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 =     pointer to 4-word data structure (not 0)
     R1 =     pointer to token (possibly wildcarded)
     R2 =     pointer to buffer for result
     R3 =     size of buffer
     R4 =     index (0 for first time)
<=     R0, R1 preserved
     R2 =     0 if no more matching tokens, else preserved
     R3 =     length of result excluding terminator
     R4 =     next index

This SWI looks up tokens that match the given wildcarded token specification. The token returned in the buffer has the same terminator as the wildcard in R1.

See PRM 3, page 751.
MessageTrans token wildcards
?     match 1 character
*     match 0 or more characters

[sh-index] Back to list of manuals