Major Additions to the language include new types and embeded expressions.
To be compatible with standard parsing, all places where expressions are allowable, requires the expression to be encompased by parenthesis.
Examples include
Code: Select all
Original Code:
Set MyVar MyOtherVar
Math MyVar *= 1024
New Code:
Set MyVar (MyOtherVar * 1024)
Unlike the current mexscript, types are generally ignored interally, except when using the "GET" command to read,
Code: Select all
Type list
Byte # alias for Word8
Long # alias for Int32
Int # alias for Int16
ThreeByte
String
Int8
Int16
Int32
Int64
Word8
Word16
Word32
Word64
Single
Double
Currently this is a complete rewrite and not all commands have yet been implemented. Mr.Mouse and I have had several discussions about maybe creating a new engine that might end up replacing everything MexScript does. Its too early to say if it'll ever be implemented, but its an idea i've floated past him, that he seems to like.
Please post new ideas or suggestions, with more to follow, stay in touch.