home *** CD-ROM | disk | FTP | other *** search
- .pg wi full clr cy
- COMMAND NAME»gray«: »%t« LookAt »ye«
-
- /LOOK {row} {column} {length}
- /cw
- Returns the characters found at »cy«{row}»#«,»cy«{column}»#« for
- »cy«{length}»#«. The string is returned in the variable »ma«FOUND»#«.
-
- »gr«NOTE»wh«:»#« Although »%t«LookAt»#« is intended for Communications
- functions it can be used throughout the script.
-
- .pg
- EXAMPLES:
-
- »go 5 1 bo«Returns»#«
- .go 1 15
- |/LOOK 5 5 7
- | The string is "%Found".
-
- »go 5 1 #«Returns
- »go 27 2 bo«is »#«
- .go 1 17
- |/LOOK 6 27 3
- "»go 27 2 #«is "
- .go 1 17
- | The string is "%Found".
-
- /ENDEXEC CLEAR
-