
Introduction to the TScript
The TScript language has been designed and developed to be an embeddable scripting language for native C/C++ code. The main criteria for TScript is to allow scripting functionality to be added to the to your software post installation and allow users of a system to customise it for their own personal needs.
A Basic "Hello World" TScript
- C++
#include "TScript.h"
int wmain(int argc, wchar_t* argv[])
{
CTScript ts;
//allow tscript to query user for security exceptions
script.SetParameter(CTScript::PROMPT_USER_SECURITY_EXCEPTIONS,1);
ts.SetParameter(CTScript::SOURCE_STRING,0,
u"main(){System::MessageBox(L\"Hello World\");}");
ts.ExecuteStaticMethod();
return NO_ERROR;
}More Details on TScript Basics
Listen All
Comments (0)

