AddIfUnique Data Member Function

Adds a string to the array if it is not already present. This is test by value, not by pointer. For example: adds 'myString' if it is not present.

Prototype

int32 AddIfUnique( string p_sValue )

Parameters

Parameter Type Parameter Name Documentation
stringp_sValueThe value to add to the array.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.