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
 Custom drop down list for GetN 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
Nickos23 Posted - 03/03/2012 : 12:36:06 PM
I want to create a drop down list for GetNumber command.

It is written in LabTalkHelp:

A drop down list can also be specified and the variable will represent the selection index in the list. In this case, you must first put the list in a string variable, and specify the character for the string variable after the ":".

I don't know how to do this - "put the list in a string variable".

I would be grateful for any help or an example
4   L A T E S T    R E P L I E S    (Newest First)
luismramirezr Posted - 04/16/2016 : 11:57:31 AM
quote:
Originally posted by JokerOne

Ahh, now I got it as well!

The pipe is the magic letter to use:

string_list$ = A|B|C|
getn (Whatever) results_variable:string_list$

A year old question finally solved...



Thank you!
JokerOne Posted - 03/03/2016 : 10:33:14 AM
Ahh, now I got it as well!

The pipe is the magic letter to use:

string_list$ = A|B|C|
getn (Whatever) results_variable:string_list$

A year old question finally solved...
JokerOne Posted - 03/03/2016 : 10:29:39 AM
I found this old message, which exacly meets my current needs.

Unfortunately, I have not experienced the enlightment, that Nickos had some years ago.

Could anybody help me out?

Thanks
Nickos23 Posted - 03/04/2012 : 12:28:40 PM
The problem is solved!

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