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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Branching with Strings Input

Status
Not open for further replies.

pya

Technical User
Dec 18, 2020
40
0
0
AU
Hi Mikrom,

I am writing a simple Temperature conversion QBASIC Program for my grandson.

Psuedo code looks like this

INPUT T$
IF T$ C F K
Depending on whether input is C F or K
I will use a GOTO to carry out different calculations

I am trying to avoid multiple IF statements and would like to branch from a single IF statement.

Is this possible?

pa99
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top