? Now intruducing a new OS: S-OS (Page 1) ● SmileBASIC Source Forums

Sign In

*Usernames are case-sensitive
Forgot my password

Now intruducing a new OS: S-OS

  • #1 ✎ 138 DFrost Expert Programmer Programming no longer gives me any trouble. Come to me for help, if you like! Programming Strength ill make this Posted
  • #2 ✎ 940 Y_ack wince Posted
  • #3 ✎ 198 TheV360 Third Year My account is over 3 years old Website First Day Joined on the very first day of SmileBASIC Source Website Night Person I like the quiet night and sleep late. Express Yourself Is history repeating itself? Posted
  • #4 ✎ 436 kenchic Avatar Taboo I didn't change my avatar for 180 days Website Third Year My account is over 3 years old Website osu! Is Awesome! I love osu! Express Yourself you should have called it D-OS you fool also, related: Posted Edited by kenchic
  • #5 ✎ 940 Y_ack DEF WAKEUP SLEEP = 0 END DEF SLEEP SLEEP=1 'inconsistent spacing END WHILE ALIVE WHILE WEEKDAY IF HOUR>=6.5 THEN WAKEUP [email protected] 'inconsistent capitalization. 'will never return here because of GOTO 'use instead of GOSUB [email protected] 'error, as HOMEWORK is a 'function and not a label IF HOUR>=21 THEN SLEEP WEND 'note that WEEKDAY will loop 'forever, as days never change '(unless WEEKDAY is a system variable) WHILE !WEEKDAY EXEC "XBOX" 'why is XBOX an exec when 'Homework gets a DO command? WEND 'apparently doesn't sleep during 'weekends WEND 'never dies DEAD = TRUE 'implied/redundant/unused 'and, ALIVE is never set, so at this point, 'if ALIVE ran at all, (ALIVE && DEAD). hm. DEF HOMEWORK 'addressed previously. DO "Homework" 'Why is DO used here but 'never other verb commands? END @SCHOOL 'as mentioned prior, going to 'school and never returning GOSUB @GYM 'inconsistent spacing GOSUB @Math 'inconsistent capitalization GOSUB @ART GOSUB @ELA GOSUB @LUNCH GOSUB @WLDHST GOSUB @SCIENCE END '...and even if it /were/ GOSUB, 'this should be RETURN! Posted