PDA

View Full Version : Wee Basic Alpha 1c:



wraggster
August 24th, 2007, 00:08
New release of the BASIC interpreter for the Nintendo DS (http://freescifistories.wordpress.com/)

Heres whats new:


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

Download and Give Feedback Via Comments

DimensionT
August 24th, 2007, 02:08
So, will I be able to run some of the basic apps I made a while back with this?!?! That would be awesome!

EDIT:
BAH... All I have is the EXEs for my programs anymore. Guess you need TXT files to play? I think I can install the program again and import the app and get the text.

If I get them working I'll post them here.

marovada
August 24th, 2007, 06:33
So, will I be able to run some of the basic apps I made a while back with this?!?! That would be awesome!

EDIT:
BAH... All I have is the EXEs for my programs anymore. Guess you need TXT files to play? I think I can install the program again and import the app and get the text.

If I get them working I'll post them here.

Just remember that you can only use variables a-z and a$-z$ at present and there are no arrays. I hope to be able fix this in the next release.