Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ RunScript
Function
RunScript
Engine/source/console/test/ScriptTest.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
#include
"console/stringStack.h"
32
33
inline ConsoleValue RunScript(const char* str)
34
{
35
return std::move(Con::evaluate(str, false, NULL));
36
}
37
38
TEST(Script, Basic_Arithmetic)
39
{
Callers
1
TEST
Function · 0.85
Calls
1
evaluate
Function · 0.85
Tested by
no test coverage detected