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
    TScript::AddDefinedVariable(u"My");
    TScript::AddMethod(u"static Method(WString message: Integer results){"
    	u"System::MessageBox(message:results);"
    u"}",u"My");
    My::Method(u"This is the Message");

    Requirements

    TScript Version: 1.4

    Also See

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

    Contact Ekky

    Thanks for your interest.

    Ekky Software Customer Support Team.

    Ekky Software Product Range
    Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript