| T O P I C R E V I E W |
| uli_15 |
Posted - 12/05/2008 : 12:59:08 PM Origin Ver. and SR (Select Help-->About Origin): 7.5 SR6 Operating System: WinXP SP2
Hi there,
it is very useful to work with the exist command. But I did not find any possibility to apply it to sub-folders inside an Origin project. How could that be done?
Imagine I import data in a worksheet and depeding on what is in the header I would like to create a subfolder or, if it already exists, place the worksheet there.
Can anyone help?
Thanks in advance,
Uli |
| 1 L A T E S T R E P L I E S (Newest First) |
| cpyang |
Posted - 12/06/2008 : 4:45:59 PM Sorry, I don't see a simple way in Origin 75 to do this. You will need to add your own Origin C function.
If you have Origin 8, then it is very simple: // assuming %A is the path you need to test
string strTemp="%A"; if(strTemp.IsPath()==0) type "need to create subfolder";
See this link for all the string functions in Origin 8:
http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:String_%28object%29
CP
|
|
|