S
Stefan Drissen
Guest
Only the TO part is calculated for each iteration to see if the end condition has been met. So there is nothing faster in this case. FUNCTION doStart RETURNS INTEGER(): MESSAGE "start" VIEW-AS ALERT-BOX. RETURN 1. END FUNCTION. FUNCTION doEnd RETURNS INTEGER(): MESSAGE "end" VIEW-AS ALERT-BOX. RETURN 5. END FUNCTION. DEF VAR ii AS INT NO-UNDO. DO ii = doStart() TO doEnd(): END.
Continue reading...
Continue reading...