Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: Bill_O on June 03, 2010, 05:21:02 PM

Title: select case
Post by: Bill_O on June 03, 2010, 05:21:02 PM
I am writing a macro and wanted to know if while using select case I can use strings instead of numbers?
Bill
Title: Re: select case
Post by: robinho.sl on August 24, 2010, 04:59:49 PM
wooow!

"if", "while", "select" and "case" in same sentence!! Looks like a script! =D

- You CAN'T use STRINGS with select case.
- You CAN use only INTEGER or CHAR with select case.

Why you need use strings on select case?? Normally char its more useful.
Title: Re: select case
Post by: stirling on September 02, 2010, 05:33:45 AM
wooow!

"if", "while", "select" and "case" in same sentence!! Looks like a script! =D
Nice one  ;D

However, sorry but you CAN use strings in a select case - not very well explained in the Cypress UG but...