Changeset 9e3cbcf in tol
- Timestamp:
- Jul 2, 2009, 1:41:51 PM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 6f16730
- Parents:
- aca1089
- File:
-
- 1 edited
-
tol/stdlib/general/grammars/_anything.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/grammars/_anything.tol
raca1089 r9e3cbcf 70 70 ////////////////////////////////////////////////////////////////////////////// 71 71 72 ////////////////////////////////////////////////////////////////////////////// 73 Anything GetConsoleObject( Real idx ) 74 ////////////////////////////////////////////////////////////////////////////// 75 { 76 Set cmd_info = [[ "tol::info", 77 "address", 78 [[ "Console", IntText(idx) ]] ]]; 79 80 Set result = Tcl_EvalEx( cmd_info ); 81 Anything If( result[ "status" ], 82 GetObjectFromAddress( result[ "result" ] ), 83 Error( "GetConsoleObject: " + 84 result[ "result" ] + 85 "\nevaluating tol::info address'" ) ) 86 };////////////////////////////////////////////////////////////////////////////// 87 PutDescription("Retorna el objeto de consola con indice idx", 88 GetConsoleObject);
Note: See TracChangeset
for help on using the changeset viewer.
