TScript::AddDefinedVariable

TScript::AddDefinedVariable allows scripts to define variable during execution.

public TScript::AddDefinedVariable(
   WString className
);

Parameters

classNameThe class name for the defined variable.

Return Values

The error.errorCode value will be set to the underlining windows error message code and the error.errorString will have a detailed description of the error.

Remarks

    Example Use
    TScript::AddDefinedVariable(L"My");
    TScript::AddMethod(L"static Method(WString message: Integer results){"
    	L"System::MessageBox(message:results);"
    L"}",L"My");
    My::Method(L"This is the Message");

    Requirements

    TScript Version: 1.4

    Also See

    TScript::AddMethod
    Comments (0)Listen All
    Characters left: 2500
     

    Contact Ekky Software

    Thank you for your time and interest.
    Ekky Software Customer Support Team.

    Ekky Software Product Range
    Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript