CX_Interpret_String doesn't work
Hey everyone!
I would like to use CX_Interpret_String in my UDF but it doesn't work. I my UDF, I wrote this: CX_Interpret_String("(ti-menu-load-string \"fi int read ok velocity0.2.ip\")"); Fluent returns: unbound variable If I just use: CX_Interpret_String("(newline)"); then it works. So the problem is if there are more words... Anyone has an idea what could be wrong?? What is scheme command to read interpolation? I would really appreciate any help! |
I have read that CX_Interpret_String does not work somewhere. So do not count on it.
|
What do you mean with 'doesn't work somewhere'? Depends on version, OS or something else?
|
It simply does not work. It is an non-documented API and no one guarantees that it works. I have seen from else where that this API does not work.
I have found the source. It is written in "FLUENT Scheme Dokumentation" by Mirko Javurek. Um Scheme-Funktionen aus einer UDF aufzurufen, ist zur Zeit keine Möglichkeit bekannt; die C-Funktion 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. |
All times are GMT -4. The time now is 23:32. |