QTIPS - Direct Assignment by Comparison
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 AUG 1989 | 1.14+ | EXPERT | ASSIGNMENT, COMPARISON |
A little-used but no less useful structure is the direct assignment by comparison. That is to say, assigning a variable directly by an explicit comparison E.G.
A = IF X<20 THEN "L" ELSE "A"
(Volume 1, Issue 4, Page 3)