Cold Help System: Programming: ColdC Reference Manual: Functions: Variable: add_var()


INTEGER add_var(SYMBOL name)

This function defines an object variable on the current object. The name of the variable is defined by the symbol name. If an object variable already exists by the desired name, the error ~varexists is thrown. add_var() returns 1 if it is successful.


add_var() | clear_var() | del_var() | get_var() | set_var() | variables()


the Cold Dark