SAS Component Language Dictionary |
Deletes the current word and advances to the next word in the
current command
A word is the text at the current position up to the next blank
or semicolon. A semicolon denotes the end of a command in addition to the
end of a word. NEXTWORD is used with WORD and is usually used in conjunction
with CONTROL ENTER, CONTROL ALWAYS, or CONTROL ALLCMDS.
If the command line contains two or more commands separated
by semicolons, then only the first command on the command line is executed
during the current execution of the MAIN section. The next command is executed
when control is returned to the program or when another entry is displayed,
as in the use of the DISPLAY routine.
If a user issues the command AXX BXX
CXX DXX, the succession of words is as follows:
|
Initial |
After 1st
NEXTWORD |
After 2nd
NEXTWORD |
word(1) |
AXX |
BXX |
CXX |
word(2) |
BXX |
CXX |
DXX |
word(3) |
CXX |
DXX |
blank |
NEXTCMD
WORD
WORDTYPE
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.