Loading library via scheme command
Hello
It might seem a silly question. I wish to load some user defined udf library and to make this procedure automatic by scheme command, saved in a .scm file. 1) Within the Fluent interface, the library loading is done normally by: Define>User-defined>function>manage. 2) In the fluent environment, the following scheme command do the loading of the library: (ti-open-udf-library)load libudf 3)However, I wish to save this procedure into a .scm file, to be opened via file>read>scheme When executing the .scm file, fluent is stoping after the first command (ti-open-udf-library) and request to give the answer to load/unload/compile. This is not really what i was looking for, as the aim was not to have to interact. My question is: why, while reading the .scm file, fluent is stopping at the first scheme command (while it does not if I am writing it directly on the fluent window, and access the load command by itself) Does anyone knows how to overcome this issue? Thanks for any help |
Hi!
I have almost the same problem. How do you solve that? I've been thinking to use DEFINE_EXECUTE_ON_LOADING or EXECUTE_ON_LOADING but I don't know the difference :( Thanks in advance |
For me, the following works:
Code:
(open-udf-library "libudf") |
Quote:
I'll tried it! I found that more effective that trying another UDF with execute on loading or another macros. |
All times are GMT -4. The time now is 20:05. |