News for hackers. Stuff that matters.
Re:Apple ][+ in HTML5 by pud on Sunday October 28, 2012 @07:00AM (#4708665)

  10 X=1
  20 FOR Y=1 TO X
  30 PRINT " ";
  40 NEXT Y
  50 PRINT "HELLO"
  60 IF X=34 THEN LEFT=1
  70 IF X=0 THEN LEFT=0
  80 IF LEFT=1 THEN X=X-1
  90 IF LEFT=0 THEN X=X+1
  100 GOTO 20
  
  RUN
Notes: Use ^C to stop it. Type LIST to see the program you wrote. If you screw up a line, just type the line number and hit <return> to delete that line.
Re:Apple ][+ in HTML5 by kator on Sunday October 28, 2012 @07:51AM (#4708736)

    10 X=1
    20 D=1
    30 FOR Y=1 TO X
    40 PRINT " ";
    50 NEXT Y
    60 PRINT "HELLO"
    70 IF X=0 OR X=34 THEN D=D*-1
    80 X=X+D
    90 GOTO 30
Re:Apple ][+ in HTML5 by pud on Sunday October 28, 2012 @08:08AM (#4708758)

  5 PRINT "WHAT'S YOUR FIRST NAME?"
  7 INPUT NAME$
  10 X=1
  20 D=1
  30 FOR Y=1 TO X
  40 PRINT " ";
  50 NEXT Y
  60 PRINT NAME$
  70 IF X=0 OR X=39-LEN(NAME$) THEN D=D*-1
  80 X=X+D
  90 GOTO 30

  RUN
Re:Apple ][+ in HTML5 by sopooneo on Sunday October 28, 2012 @11:28AM (#4709133)
How do you type quotes? I stumbled on the fact that my keyboard's "minus" key outputs an equals sign, but quotes I can't get. I grew up on the C64, not this one.
Re:Apple ][+ in HTML5 by lisper on Monday October 29, 2012 @08:22AM (#4711915)
Just typing a quote (single or double) in the usual way works fine for me.
Re:Apple ][+ in HTML5 by jello on Sunday October 28, 2012 @08:55AM (#4708814)

    70 IF X=1 THEN LEFT=0
Makes for a more symmetric pattern.
Re:Apple ][+ in HTML5 by joezydeco on Sunday October 28, 2012 @10:31AM (#4708996)
What? No FizzBuzz?