basic_program
Amature Programmer 10 FOR X=1 TO 1000
22 X^X=Y
20 PRINT Y
30 NEXT X
40 IF X=1000 THEN 50 ELSE 20
50 PRINT "If the computer made it this far then you have got one heck of a computer!"
60 END

SAVE compover.bsc
RUN compover.bsc
040425
...
u24 10 print "home"
20 print "sweet"
25 print
30 a$ = INKEY$
40 if a$="x" then end else goto 10

rem I think that should work. in qbasic, anyway.
040426
...
thieums /* It's a basic program in C */
void main () {
printf("your computer is screwed !\n");
main();
}
/* who said "I missed the point" ? */
040426
...
u24 a basic program:
--
10 print "hello world"
20 end
--


but is that really a program? surely a program should have flow control, basic decision making, etc, otherwise, it's just a command. depends how low level you go, really.
040426
what's it to you?
who go
blather
from