Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can compare how FOR loops differ between Visual FoxPro and other programming languages.
Visual FoxPro |
BASIC |
|---|---|
FOR n = 1 TO 10 ? n ENDFOR |
For n = 1 to 10 Print n Next n |
Pascal |
C/C++ |
|---|---|
for n := 1 to 10 do writeln(n); |
for(n=1; n<11; n++) printf("%d\n",n); |