Skip to main content
1-Visitor
July 1, 2013
Solved

Returning muliple assigned variables from IF statment

  • July 1, 2013
  • 5 replies
  • 2227 views

I want to assign the above-shown variables depending on the value of swAP. L's are user's inputs.

How sholuld I go about it?.

Please, help

Thanks in advance,

Eric

Best answer by Werner_E

Something like the attached?

BTW, Alan was pretty good in guessing what you wanted.

5 replies

23-Emerald I
July 1, 2013

I can't see your image. Is this what you're after?

EricHong1-VisitorAuthor
1-Visitor
July 1, 2013

Capture.PNG

19-Tanzanite
July 1, 2013

See attached.

Alan

EricHong1-VisitorAuthor
1-Visitor
July 1, 2013

These are all correct answers. Thank you all. It doesn't let me say "correct answer" to all.