BASIC
ABORT
ASSIGNMENT
BOOLEAN
BRANCHING
COMPILE.TIME
CONSTANT
DIMENSION
DYNAMIC
EQUATE
EXECUTE
IO
MATH
STRING
SYSTEM
TABLE
TAPE
TBD
TRANSFORM
|
BASIC CMD: LOCATE |
There are two syntaxes for the LOCATE. Both are explained here. |
|
|
format: LOCATE(<needle>,<haystack>;<returned field position>) THEN <command>
|
Options |
Notes |
Result |
Code Examples |
| LOCATE("401",ERRLIST;FPOS) ELSE FPOS = -1 |
|
|
|
|
|
format: LOCATE <needle> IN <haystack> SETTING <returned field position>
|
Options |
Notes |
Result |
Code Examples |
| LOCATE(UNAME,USERS,1;VPOS;'AR') ELSE GOSUB SECURITY.BREACH |
|
|
|
|
|
|
Synonyms |
| See also |
| Categories |
ALL
| BRANCHING
|
Ideas |
BRANCHING
|
More Details or Suggestions?
|
Updated from a Post-Relational data table on 10:18:36 23 Apr 2010
Courtesy of Key Ally, Inc.
General Automation is a Trademark of Tiger Logic
|
|
|