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
 Origin 5.0 bugs ?

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
a_user Posted - 08/20/1998 : 3:42:00 PM
In the manual, it's wrote that's origin support a dot in a name
of a window (it's work correctly with origin 4.1)
but it doesn't work with origin 5.0.
If you rename a worksheet (data1 to data.01), origin create
data01 in place of data.01.
It's a little embarassent for us because we have a huge
Labtalk script initialy wrote for 4.1 and we have to make
correction.

Does anyone know about ?

Thanks a lot in advance !

Levent

1   L A T E S T    R E P L I E S    (Newest First)
a_user Posted - 08/20/1998 : 3:46:00 PM
Origin 5.0 Child Window names

The Origin 5.0 Manual is not correct. While Origin 5.0 can open and retain (in some cases) Child Window names with dots (periods) from older versions, it was decided to re-write the naming routines such that all unsupported characters would be stripped out. This was done to ease the coding for the LabTalk interpreter which makes heavy use of Object.Property notation.
You will need to modify your LabTalk script to handle this. Here is a macro that will strip periods from a string:

def StripDots {
%Z=%1;
done=0;
for( ;done==0; ) {
%A=%[%Z,'.'];
%B=%[%Z,>'.'];
%Z=%A%B;
if(%[%B]==0) done=1;
}
}

and here is a script that uses this macro to remove periods from the names of all non-minimized windows:

doc -e o {
stripdots %H;
win -r %H %Z;
}


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