Qbasicnews.com

Full Version: run this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i was playing around with the or, xor, etc. functions one day when i stumbled upon this. i'm sure ninkazu will appreciate this. Smile

cls
for x = 0 to 3
print x or x + 1
next
Smile ... i have nothing more to say...
*slaps forehead*
neato
put a semicolon after the print statement Tongue
heh heh...
hey, nice avatar seph.
Hey, you don't have to run that code to know the output. If you do, then you are not 1337 Wink
Sorry guys, but I don't get it. The results are 1337, but what does that mean? Is this discovery going to overshadow Fibonacci series, maybe? :wink:
1337 = LEET = elite. Stupid language for hacker wannabes.
k ninkazu. good thinking.

Code:
cls
for x = 0 to 3
print x or x + 1 ;
next

sorry na_th_an, guess i'm not 1337. i'm only doing math a30 right now (grade 11) i'm hoping we take boolean in calculus, as i read in several posts in tek tips that some people never learned boolean in school.
Pages: 1 2