Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New version 1.6.10 released!
#7
boriel Wrote:Expanded syntax. After much effort (and 3-5 yrs) I've finally managed to allow to call SUBs without parenthesis.

O.O

That looks fun. Of course, that's more of a look and feel thing, really.

boriel Wrote:IF this is done, then ALL of the "core" functions (SIN, COS, TAN..., RND) and SUBS (DRAW, CIRCLE, PLOT, BORDER, RANDOMIZE, etc) could be taken out, into a library (e.g. Sinclair.bas?) which will be used transparently and let other people to define their owns, or even ones that resemble MSX or CPC Basic dialects (so they don't have to write PLOT, but "PSET" instead). Indeed, ATTR, POINT and SCREEN$ are already external functions.

Ooh. Now that's _really_ shiny. I can change a program to use a fast circle or plot routine from the library, or a my own random number functions by some overload/overwrite concept without actually changing the main code? That's going to be handy.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)