Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ignoring case 1

Status
Not open for further replies.

shogunmark69

Technical User
Mar 27, 2008
8
US
I have tried using instr per the help files in attachmate, but i couldnt get it to work, was always getting a syntax error, but i have these lines of code:

if q$ = "EC" then goto testme
if q$ = "Ec" then goto testme
if q$ = "ec" then goto testme
if q$ = "eC" then goto testme

Is there a way to ignore case so i can clean this up? i have about 15 different letter combinations and writing 4 lines per each is a p.i.t.a....

THanks
 



Hi,
Code:
if ucase(q$) = "EC" then goto testme


Skip,
[sub]
[glasses]Have you heard that the roundest knight at King Arthur's round table was...
Sir Cumference![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top