TOPIC: Rule and Functions
#803
Rule and Functions 3 Years, 5 Months ago
I am trying to get a handle on the language, but I am not getting where in a libarary rules for a table or table column goes. Or for that matter where do functions go?

Thanks
 
 
#804
Re:Rule and Functions 3 Years, 5 Months ago
There are no specific "places" within a library. LibraryView lets you organize your records into folders but this is for your purposes - all Suneido cares about is the name you assign - this is the global, unique, name.

Any record in a library can contain any "constant" - number, string, function, object, class.

A rule is a specially named function. The name must consist of "Rule_" followed by the name of the field. Similarly, database triggers must be named "Trigger_" followed by the name of the table.

Hope that helps.
 
 
andrew