Parameters > Citect.ini File Parameters > Code Parameters > [Code]StrictArgumentCheck

[Code]StrictArgumentCheck

Determines whether the compiler checks for calls to functions missing parameters. The compiler will by default pass a 1 value or an empty string to function calls that do not have a parameter, and no default defined.

Allowable Values:

Default Value: 1

Example

INT
FUNCTION
AddTwoNumbers(INT a, INT b)
RETURN a + b;
END
FUNCTION
CallFunction()
INT sum = AddToNumbers();
This will not compile by default, but will compile when [CODE]StrictArgumentCheck=0.