The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 worksheet -pa ? doesn't take names with dash(es)

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
AKazak Posted - 05/30/2022 : 03:08:51 AM
OriginPro 2022b (64-bit) SR1 9.9.5.167
Windows 7 Pro SP1 x64

Greetings!

Following:
https://www.originlab.com/doc/Quick-Help/Graph-Template-LabTalk
and
https://www.originlab.com/doc/LabTalk/ref/Worksheet-cmd#-pa.3B_Plot_data_in_current_workbook.2Fworksheet_into_the_specified_cloneable_template

I try plotting using clonable template. However I empirically found that worksheet -pa ? does not work correctly with clonable templates containing dash(es) in their names, for example:
worksheet -pa ? C_PHIh-CPHIk

returns:
quote:
#Command Error!


Can you reproduce the issue?

---
Andrey
2   L A T E S T    R E P L I E S    (Newest First)
AKazak Posted - 05/30/2022 : 06:36:11 AM
quote:
Originally posted by Echo_Chu

dash mark is reversed character in labtalk.

If you want to have it in the file name, please enclose it with double quote mark.

You can use script as below to get what you want.

worksheet -pa ? "C_PHIh-CPHIk";



Got it.
Where do I read about LT reserved characters and their roles?

---
Andrey
Echo_Chu Posted - 05/30/2022 : 05:47:31 AM
dash mark is reversed character in labtalk.

If you want to have it in the file name, please enclose it with double quote mark.

You can use script as below to get what you want.

worksheet -pa ? "C_PHIh-CPHIk";

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000