|December 30, 2004, 11:33||
ti-menu-... in (define... = error?
I guess this question relates to the behavior of ti-menu-load-string inside a Scheme definition.
This trivial example works (it closes a graphics window):
(ti-menu-load-string "/display/close-window 1")
and it also seems to leave a boolean as its result.
But this doesn't:
(define shell (ti-menu-load-string "/display/close-window 1") )
It closes the graphics window then gives this error and dies:
Error: eval: invalid function
Error Object: #t
I think the Scheme eval procedure is choking on the boolean that ti-menu... returns, and somehow I need to eliminate it, but that's just a guess.
Big thanks for any help for this new user!
|Thread||Thread Starter||Forum||Replies||Last Post|
|c++ libraries and solver compiling||vaina74||OpenFOAM Installation||13||February 3, 2012 17:43|
|How to install CGNS under windows xp?||lzgwhy||Main CFD Forum||1||January 11, 2011 18:44|
|ParaView for OF-1.6-ext||Chrisi1984||OpenFOAM Installation||0||December 31, 2010 06:42|
|How to get the max value of the whole field||waynezw0618||OpenFOAM Running, Solving & CFD||4||June 17, 2008 05:07|
|Compiling problems with hello worldC||fw407||OpenFOAM Installation||21||January 6, 2008 17:38|