Menu

Derivatives-SASIL

Will Pittenger

SASIL is basically just pure ASIL. It's unknown if there will be any RAD tools built-into the language. It's possible that those will be purely part of your IDE. SASIL, as mentioned, doesn't allow anything other than types to be declared directly in a namespace. A SASIL source code file isn't a script and isn't itself an executable. Rather, you need to build a module around your source code. That module might be something you'd actually run or a library.

If you want your SASIL code to be part of an executable module (rather than a library), one of the classes needs to include a main procedure which must have one of the following prototypes:

public static command (String strParam)...params ' No return value allowed; your program will always return 0

public static function (String strParam)...params
  returns int ' This version lets you return a value explicitly

You need to specify which main procedure to use in your module's definition XML file. Please note that SASIL code can't be used outside a module.


Related

Wiki: Appendices-Deprecated keywords, operators, and delimiters
Wiki: Derivatives-DASIL
Wiki: Derivatives
Wiki: Home
Wiki: Modules
Wiki: The basics (pun intended)