General information
Category:
Coding, syntax & commands
************correction, thanks :
lnMaxLineas = memlines(valdincode.codegen)
For nCnt = 1 to lnMaxLineas
lcComando = alltrim(UPPER(mline(valdincode.codegen,nCnt)))
Do Case
Case inlist(ALLT(lcComando),"{DO WHILE}","{IF}")
nCnt = nCnt +1
lcExpr =alltrim(UPPER(mline(valdincode.codegen,nCnt)))
nCnt = nCnt +1
nCnt2 = nCnt
Do WHILE (&lcExpr)
lcComando= alltrim(UPPER(mline(valdincode.codegen,nCnt)))
&lcComando
nCnt = nCnt+1
IF inlist(allt(mline(valdincode.codegen,nCnt)),"ENDIF","ENDDO")
nCnt=nCnt2
ENDIF
Enddo
endcase
endfor
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only