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
 Forum for Origin C
 get user input
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rtsen

Canada
5 Posts

Posted - 04/15/2003 :  11:06:55 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I recently upgraded origin 5 to origin 7 and I am trying to transfer my labtalk scripts to Origin C. I was wondering if Origin C had a function which outputs a box to collect user input. In other words, a function that does the same thing as getnum in labtalk. currently to get user input, I am getting the user to input values into a dataset(column) and using 'Dataset Name(WkshtName,1)' in Origin C to access the values.

thanks

easwar

USA
1965 Posts

Posted - 04/15/2003 :  3:20:47 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Currently, you can get one string of user input at a time in Origin C using:
string strName = InputBox("Prompt/message:");
This will bring up a box and wait for user input.

Multiple variable inputs is not currently supported. For that you could use LabTalk code within your OC function, to bring up a GetN dialog, and then get the variable values into Origin C.

Easwar
OriginLab.

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