kallistii: (Default)
kallistii ([personal profile] kallistii) wrote2008-05-01 03:58 pm

CompSci for Today

10 FOR I = 1 to 100
20 PRINT "Hello World!"; I
30 NEXT
40 END

That was the first AppleBasic program that I have written in over a decade! If you want to play around with AppleBasic, you can go here for an emulator that was written in, of all things, Javascript! http://www.calormen.com/Applesoft/

Thanx [livejournal.com profile] syreene for the link!

ttyl
ext_36983: (Default)

[identity profile] bradhicks.livejournal.com 2008-05-01 11:01 pm (UTC)(link)
Oh, god, don't remind me of that nightmare. Does it still have no ELSE clause? Does it still have the bug where the tokenizer introduces bugs if there are an odd number of characters in the comments?

[identity profile] northwestpass.livejournal.com 2008-05-01 11:14 pm (UTC)(link)
Wow! I used to code huge long video games using Basic, on my old Commodore 128. Now I can relive the good ole days. Thanks!

[identity profile] kallisti.livejournal.com 2008-05-02 12:32 am (UTC)(link)
I am sure that it is an authentic implementation, but that it may have fixed any number of bugs in the original. Remember, Applesoft was a Microsoft product....

ttyl

[identity profile] kallisti.livejournal.com 2008-05-02 12:33 am (UTC)(link)
The C128 certainly did have a lot of bells and whistles in it. Not quite as expandable as the Apple ][ or //.

ttyl

[identity profile] duncanmac.livejournal.com 2008-05-02 04:23 am (UTC)(link)
What I used to run was the Commodore 64 ... now that is ancient.

What I did in Commodore Basic was to create an APL characters set and an APL terminal. It worked, but probably would have gagged if the line-speed had exceeded 300 bps (which was all the modem was capable of).

Since I am no longer connecting to a mainframe, that is moot now. Besides, it should be easy to run an APL interpreter on a PC, at least in principle.
ext_36983: (Default)

[identity profile] bradhicks.livejournal.com 2008-05-02 10:19 am (UTC)(link)
The original Microsoft product. The only one actually written by Bill Gates, if memory serves - which, as god-awful buggy as it was, speaks volumes about the guy who thinks he's earth's greatest computer genius.

[identity profile] kallisti.livejournal.com 2008-05-02 12:45 pm (UTC)(link)
I thought MBASIC for CP/M was the original MS Product...and Applesoft was a port of that...actually, after a quick look at Wikipedia, it seems that the first MS Product was, of course, Altair Basic, from which both Applesoft and MBASIC were decendants.

ttyl