Error : CX_Interpret_String not found
Hi,
I'm trying to interpret a UDF where I have the following macro, I just want to call scheme functions from a UDF: DEFINE_EXECUTE_AT_END(execute_at_end) { CX_Interpret_String("(physical-time-steps 1 10000)"); } And I get the following error when I try to interpret my UDF: function "CX_Interpret_String" not found (pc=149) What's wrong? Is there another way to execute text commands or scheme commands from a UDF? Thanks, Frank |
I found in a note written by Mirko Javurek:
CX_Interpret_String("scheme-command-string") - deklariert in Fluent.Inc/fluentX.Y/cortex/src/cx.h - interpretiert zwar den "scheme-command-string", hat aber keinen Zugriff auf das Environment. I do not know German, either. It means "CX_Interpret_String" is declared but there is no access to the environment. Maybe you should turn to the guy who told you this function for help. |
Hi,
did you include udf.h ? in the beginning of your UDF. But maybe this functionallity is only available for compiled UDFs greetz, Jim |
Quote:
Quote:
Frank |
You need to include "cx.h" to avoid the syntax error. But again, while you can use CX_Interpret_String to do something like "display", I did not find a way to execute scheme command like 'iterate'.
|
All times are GMT -4. The time now is 23:14. |