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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Getnumber Command
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

segawalab

Japan
5 Posts

Posted - 10/18/2002 :  08:16:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

cpyang

USA
1406 Posts

Posted - 10/18/2002 :  08:38:18 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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


Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 10/18/2002 :  10:45:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

segawalab

Japan
5 Posts

Posted - 10/18/2002 :  12:13:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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,
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 10/18/2002 :  3:44:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply

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




Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 10/18/2002 :  6:41:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

segawalab

Japan
5 Posts

Posted - 10/21/2002 :  10:01:05 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

thank you very much for your help.

i got it , thx.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000