1. The language is GW-BASIC
2. Use line numbers and any other valid GW-BASIC statements
3. Interpreter resides in a Windows XP/Cygwin environment. The path is set so that all standard unix/cmd.exe/command.com commands are available via SHELL.
4. Doing the following results in the substitution of your statement with PRINT">>[post-number] IS ULTRA-GAY"
- a. Referencing an undefined line number
- b. Violating GW-BASIC syntax
- c. Endless loops
- d. Dumb shit like SHELL "FORMAT C:", SHELL "DELTREE C:\*.* /Y", SHELL "FDISK", etc.
- e. Statements that cause an error by virtue of constant values, like LOCATE 999,999
5. If a serious program arises out of this I'll collect it and post it somewhere.
Name:
Anonymous2006-06-12 1:17
10 GOTO 10
Name:
Anonymous2006-06-12 3:29
20 RANDOMIZE TIMER
Name:
Anonymous2006-06-12 4:21
1 A$="format c: /q/u":shell A$:
2 rem remember that you can substitute any line number previously entered
10 rem by entering it again.
11 rem forinstance: goto 10
10 Print "disregard that, I suck cocks"
3 REM 7 GET
4 REM CAPS IS CRUISE CONTROL FOR COOL -- OR BASIC
Name:
Anonymous2006-06-12 6:23 (sage)
42 SHELL "Q3A"
Name:
Anonymous2006-06-12 9:04
100 REM God dammit people, this is a good thread, let's play along and stop posting shit. I'll start from 100.
110 FOR i% = 1 TO 10000
Name:
Anonymous2006-06-12 9:20
1 OUT &H64, &HFE
Name:
Anonymous2006-06-12 13:34
6 PRINT">>5 IS ULTRA-GAY":'Violation of d (HOW DO I NOT READED RULES)
42 PRINT">>8 IS ULTRA-GAY":'Violation of d (WTF IS Q3A????)
Name:
sage2006-06-12 14:02 (sage)
666 PRINT ">>11 SAGE":"Violation of d(Q3A is quake3arena U dumbSAGE)
Name:
Anonymous2006-06-12 17:01
120 COLOR i%
Name:
Anonymous2006-06-12 17:46
125 line input, A$
Name:
Anonymous2006-06-12 18:09
124 print "Type something, press ENTER when done."
Name:
Anonymous2006-06-12 18:10
665 FOR L1=1 TO 32767
666 PRINT ">>12 IS ULTRA-GAY":'Violation of b (Comment indicator in GW-BASIC is apostrophe, not quote mark DUMBFUCK)
667 NEXT
Name:
Anonymous2006-06-12 18:22
123 PRINT "THE LAST TIME I WAS EVEN REMINDED OF GW-BASIC'S EXISTENCE WAS WHEN I PURCHASED A BRAND NEW GAME CALLED MATH BLASTER"
124 GOTO 665
Name:
Anonymous2006-06-12 18:25 (sage)
17 REM ENTERPRISE LEVEL PROGRAM
18 REM MERS USE ALL CAPS AND TH
19 REM E REMARK SYNTAX FOR COMM
20 REM ENTS WE ALSO MAKE SURE O
21 REM UR COMMENTS FIT ON A C64
22 BASIC DISPLAY
Name:
Anonymous2006-06-12 20:06
I wrote boot disks for my friends, they would reboot a radio shack computer, it would install the timebomb program and then a week later the computer would deltree itself on bootup.
Name:
Anonymous2006-06-12 20:19
22 REM BASIC DISPLAY
Name:
Anonymous2006-06-12 22:13
668 print i%
Name:
Anonymous2006-06-13 5:40
669 RETURN
130 GOSUB 665
Name:
Anonymous2006-06-13 5:52
7 DEF SEG=&HB800:SCREEN 7
Name:
Anonymous2006-06-13 15:22
8 FOR i% = 1 TO 32000 'SCREEN 7 = EGA 320x200x16
9 POKE i%, &HF0
10 NEXT
Name:
Anonymous2006-06-13 15:35
15 LOCATE 20,1:PRINT "HOW DO I DRAWED BINARY"
Name:
Anonymous2006-06-13 17:43
18 REM >>24 oops I failed, it's 0 to 31999, stupid idiot
19 REM This should produce a colorful moire effect, I hope, because I won't bother trying it
20 FOR y% = 0 TO 199
30 row% = y% * 160
40 x% = 0
50 WHILE x% < 320 'GW-Basic 3.22 alright?
60 c1% = x% * y% MOD 16
70 x% = x% + 1
80 c2% = x% * y% MOD 16
90 x0% = x%
100 x% = x% + 1
110 POKE row% + x0%, c2% * 16 + c1%
120 WEND
130 NEXT y%
131 REM OMG I can't believe I wasted 3 minutes of my life writing this
Name:
Anonymous2006-06-13 17:45
10 rem Basic sux!!!
20 goto 10
Name:
Anonymous2006-06-13 21:56
20 PRINT ">>27 IS ULTRA-GAY":'Violation of c
1 ON ERROR GOTO 60000
60000 PRINT "AN ERROR ";ERR;" HAS OCCURRED AT LINE ";ERL;"."
60001 PRINT "ARE YOU A BAD ENOUGH DUDE TO DEBUG IT?"
60010 PRINT "PRESS Y OR N"
60011 T1$="":WHILE T1$="":T1$=INKEY$:WEND
60012 IF T1$="Y" THEN PRINT "OK, GO AHEAD.":STOP
60020 IF T1$<>"N" THEN PRINT "WRONG KEY DUMB BIX NOOD.":GOTO 60011
60021 PRINT "OK, WE WILL JUST RETRY THE LAST ACTION."
60022 PRINT "THIS IS OUR ADVANCED ENTERPRISE-LEVEL FAILOVER TACTIC."
60030 RESUME
60040 'Actually, I wish many exception-handling modern languages included something such as RESUME NEXT. And we have to admit BASIC was one of the first languages ever to implement exception handling. Not too bad in this sense. Bad in everything else.
Name:
Anonymous2006-06-14 22:52
40 GOTO 20
Name:
Anonymous2006-06-16 17:18
10 GOTO -10
20 Install g++ to write fast and efficient code instead