aci.SetStrictMode

SUMMARY

Enable or disable strict checking in all following calls to aci.*-functions.

SYNTAX

aci.SetStrictMode(<enable>)

ARGUMENTS

enable (type:boolean)
true=enable, false=disable strict checking.

DESCRIPTION

If strict checking is enabled and the parameters of a function call do not meet the requirements script execution is terminated.

EXAMPLES

aci.SetStrictMode(true)
val1 = aci.Obj_Value("MYOBJ") --terminates if MYOBJ does not exist
aci.SetStrictMode(false)
val2 = aci.Obj_Value("ANOTHER_OBJ") --does not terminate if ANOTHER_OBJ does not exist but returs nil in this case.
		


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times