Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account

# Visual Logic Conditional Steps and Iteration

### #1 power4ull Posted 18 March 2015 - 01:06 PM

power4ull

New Member

• Member
• 1 posts

I'm trying to figure out

Converting from Fahrenheit to Celsius or the reverse over temperatures for several days

Just totally stuck

• 0

### #2 azarl Posted 19 March 2015 - 03:03 AM

azarl

• 25,310 posts

// scan list/file
FOR EACH DAY IN LIST

// reset values
dCelsius = 0
dFar = 0
dTemp = 0

GET dTemp

IF isCelsius
dFar = dTemp*1.8 + 32
PRINT dFar

// Fahrenheit
ELSE
dCelsius = (dTemp - 32)/1.8
PRINT dCelcius
ENDIF

ENDFOR

• 0

### #3 MartianProdigy Posted 05 June 2015 - 05:32 PM

MartianProdigy

New Member

• Member
• 2 posts

how do you use that for Visual Logic? not quite understanding

• 0

azarl

• 25,310 posts
// reset values
dCelsius = 0
dFar = 0
dTemp = 0

Asign

GET dTemp

Input

IF isCelsius

COndition

etc

• 0

### #5 MartianProdigy Posted 07 June 2015 - 02:31 PM

MartianProdigy

New Member

• Member
• 2 posts

ok, all this did was confuse me, I am new to this and don't understand what any of that means, nor how to put that into visual logic as "// reset values" is not a visual logic term.

• 0

### #6 azarl Posted 08 June 2015 - 01:53 AM

azarl

• 25,310 posts

// are remarks, look at the statements underneath

• 0

### Similar Topics

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users