HP 3000 Manuals

<TOKENIN> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

<TOKENIN> 

Syntax 

<TOKENIN [token] [tokenlist] >

where:

token                 quoted string, unquoted string, or parenthetical
                      string
tokenlist             quoted string, unquoted string, or parenthetical
                      string

Description 

This command can be used to find out if a user has entered a command
containing a particular word.  <TOKENIN> returns 1 (TRUE) if a literal
match for token exists in any of the tokens in the tokenlist.  Unquoted
tokens cannot contain spaces, commas, slashes or colons as these are
treated as token delimiters.  Also, if numbers and letters appear in the
same unquoted string they will be treated as separate tokens.  However,
these characters may appear in quoted token strings.

See also:  <NUMBERIN>.

Example 

     &BACK 4 <TOKENIN <QUOTE <USERNAME>> "Jo Legg" "Eve Lee">

If the current user is signed on as Jo Legg or Eve Lee this command will
cause a jump back 4 lines.



MPE/iX 5.0 Documentation