Error trapping in AppBasic
Pages: 1 2
Chris Evans (457) 1614 posts |
I wonder how easy it would be for the OS to interpret EOF as newline in message files. |
Steve Drain (222) 1620 posts |
First, AppBasic is written in BASIC and in comparison to C or Assembler it is slower and lengthier, even when crunched. If you also write special things into AppBasic you break the idea of the Toolbox as a universal interface programmable in any language. I have found some things I wanted to do with the Toolbox that were not available and have ended up adding to the OOP interface within Basalt itself. An example is a ‘Hidden’ attribute for gadgets. This is guilty of the offence above, even though I have a perfectly serviceable BASIC function to do it. ;-) Without the present aptitude for writing new gadgets in the official way I nevertheless know I could within Basalt itself, but refrain from doing so.
That is quite sophisticated. I do not think we should try to make BBC BASIC what it is not. Perhaps there are other languages – cue Gavin. ;-) Using Basalt you would have to do something like: 'window#displaybox.value=STR$(VAL'window#writablebox.value*1.20)
|
David Feugey (2125) 2709 posts |
AppBasic is not so far from this. There are just a few limits and things that are not ‘simplified’ as it could be. |
Pages: 1 2