|
From: | Heime |
Subject: | Setting value 1 when matching two strings |
Date: | Sun, 16 Oct 2022 15:51:44 +0000 |
This code sets "isel" to value "1" if "actm" matches "vert". I want to extend this so that value "1" is also set when "actm" matches "horz". (let ( (isel (if (equal "vert" actm) 1 -1)) ) Thus when "actm" matches "vert" or "horz", then "isel" has value "1". Otherwise "isel" has value "-1".
[Prev in Thread] | Current Thread | [Next in Thread] |