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 for Programming
 LabTalk Forum
 Getnumber Command

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
segawalab Posted - 10/18/2002 : 08:16:34 AM
Hi =D

Script is not nonworking regardless of obeying labtalk manual.

labtalk manual as follows:

getnumber [options] (text1) variable1 (text2) variable2 [dialog box title]

my script is next:

getnumber
(start) var1
(end) var2
dialogtitle;

But,this script can't show dialog box title.

plz tell me how to show dialog box title..

thx.
6   L A T E S T    R E P L I E S    (Newest First)
segawalab Posted - 10/21/2002 : 10:01:05 PM
Hi,

thank you very much for your help.

i got it , thx.
Mike Buess Posted - 10/18/2002 : 6:41:35 PM
If you just want to kill the script you can use

break 1;

It generates a command error and stops execution. (Like the Cancel button in the getnumber dialog.)

Mike Buess
Origin WebRing Member
cpyang Posted - 10/18/2002 : 3:44:00 PM

want to know how to kill Origin is running script.
I want to do it on the Origin.



If you mean that you want to exit from Origin from labtalk, then

doc -s;// turn off Save Project asking
exit;



CP




segawalab Posted - 10/18/2002 : 12:13:39 PM
Hi,Cpyang and Mike Buess !
I can understand about GetnumberDialogTitle.
Thank you for your quick response =D

By the way,
I want to know how to kill Origin is running script.
I want to do it on the Origin.
Do you know a command?

regards,
Mike Buess Posted - 10/18/2002 : 10:45:25 AM
As CP said, [dialog box title] doesn't show up in the title bar. It is really a message and can contain as many as three lines...

getnumber
(start) var1
(stop) var2
(Enter range...
start is the first point
stop is the last point);

Of course long lines wrap when necessary.

Mike Buess
Origin WebRing Member
cpyang Posted - 10/18/2002 : 08:38:18 AM
Maybe it used to put that in the title of the GetNumber dialog. Typically people have long text to show, so at some point the [dialog box title] string is displayed in the area below the title and the title is left empty.

CP



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