gistlib
main.mfor i=-100:101 disp(i); end 32 chars4 lines
for i=-100:101 disp(i); end
The above code defines a for loop from -100 to 101 inclusive and prints each number to the console using the disp() function.
for
disp()
gistlibby LogSnag