Origin Version (Select Help-->About Origin): 70 Operating System: win2000
Hello.
New problem:
I want to give a string created by a OriginC C-file to a string in labtalk. That means I have the function givepath(%D) which takes the string %D created in Labtalk. givepath should return a new %D. But when I want to test the value of %D, Labtalk says "incorrect number of arguments passed to function".
What does that mean? Does it refer to the c-routine or to the value which is created by the routine...?
And if I were able to transfer the path I found in the c-routine to labtalk, how could I import an ASCII file in a new worksheet from that path???
It refers to the c-function which which is defined with one argument. Possibly the path contains a comma so path is interpreted as two string arguments. Should work if you quote the path... givepath("%D").