Author |
Topic  |
|
St-Ranger
USA
17 Posts |
Posted - 03/20/2003 : 12:45:36 PM
|
In Origin 6.0p4: TEMP_T is defined {10,20,40, ..}, and all the indicies are set in a loop. Construction like this works: window -ti wks "%S" FC$(TEMP_T[si])K; However, FC$(TEMP_T[si])K!wks.paste(A,1,rii); doesn't work. ( Just in case: "FC$(TEMP_T[si])K"!wks.paste(A,1,rii) doesn't work either) At the same time this works alright: %B="FC$(TEMP_T[si])K"; %B!wks.paste(A,1,rii); Any idea why ??? Am I missing something, or this is by design ?
Thanks! |
|
marko
Germany
112 Posts |
Posted - 03/25/2003 : 04:24:22 AM
|
Don't worry, such things happen very often with Origin! Many things work, many things don't, though they should. Labtalk has so many quircks that it's always up to you to find out whether this or that will run under certain circumstances. Sometimes it does, sometimes it doesn't. Nobody can tell why, I'm afraid. You just have to play around and find a working approach for you.
It's always a good idea to use string variables in such cases as you show in the end! That decreases the number of desasters dramatically! :)
Take care, don't trust Origin too much, do always checks!!!
Regards, Marko
|
 |
|
|
Topic  |
|
|
|