Torque 3D 3.8
ContentsIndexHome
PreviousUpNext
Con::evaluate Function
Syntax
C++
ConsoleValueRef evaluate(const char* string, bool echo = false, const char * fileName = NULL);

Evaluate an arbitrary chunk of code. 

@param string Buffer containing code to execute. @param echo Should we echo the string to the console? @param fileName Indicate what file this code is coming from; used in error reporting and such.

This function restores the console stack on return.

Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!