Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
def var v-array as char no-undo init "A,B,C,D,E".
def var v-array as char format "x" extent 5 no-undo.
assign
v-array[1] = "A"
v-array[2] = "B"
...
.
def var v-i as int no-undo.
def var v-l as logi no-undo.
for each record no-lock:
v-l = false.
VAL: do v-i = 1 to 54:
if record.field = ae-code[v-i]
then do:
v-l = true.
leave VAL.
end.
end.
if v-l then do:
{rest of program logic here}
end.
end.
def var ae-code as char no-undo.
ae-code = "L01,D01,L09,...".
for each record no-lock
where can-do(ae-code,record.field):
{rest of program logic here}
end.