Another Update to Wee Basic

Quote from the change log:

Alpha 1c:

fixed:

– for/next error on first parse
– let statement not ignoring white space
– assingment not ignoring white space
– boolean functions for if statement not ignoring white space
– boolean expression for if statement returning incorrect value when using brackets
– print statement not handling variables that have a value which is a negative decimal

added/changed:

– added basic graphics:
plot x,y,colour (x,y are coordinates; colour: 1-4 to display, 0 to erase). See pong demo
line x1,y1,x2,y2,colour. See pong demo

– added log(), sin(), cos(), tan() and sqrt()

– cursor moves to the top of the document after load file
– if there is an error in the basic code, cursor will move to the point of (or close to) the error after the program is ended to make it easier to debug
– you can now use up and down (as well as left and right) to navigate in the editor

Feel free to download – change the PPT extension to ZIP. The pong demo program is included in the download. Don’t forget to patch with DLDI.

Download:Wee Basic

This is a screen of the pong demo:

Wee Pong Demo

Advertisements

2 thoughts on “Another Update to Wee Basic

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s