Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » Creating classes for Esc and using in Esc.
Re: Creating classes for Esc and using in Esc. [message #27853 is a reply to message #27850] |
Fri, 06 August 2010 20:06 |
jeremy_c
Messages: 175 Registered: August 2007 Location: Ohio, USA
|
Experienced Member |
|
|
Never mind, I figured it out. I can only use Evaluate to eval the first statement it seems?
Scan(global,
"main() {\n"
" p = Person();\n"
" p.SetName(\"John\");\n"
" Exclamation(p.GetName());\n"
"}");
Upp::Execute(global, "main");
caused my "Person" example to work.
Jeremy
|
|
|
Goto Forum:
Current Time: Thu Jun 13 07:59:13 CEST 2024
Total time taken to generate the page: 0.01490 seconds
|