Post Reply 
Requesting ELSEIF
03-24-2017, 06:21 PM (This post was last modified: 03-24-2017 07:17 PM by compsystems.)
Post: #3
RE: Requesting ELSEIF
I like the version ELSEIF. instead of using CASE

now with IFTE functional command version

PHP Code:
EXPORT elif(x)
BEGIN
  IFTE
(x>7,print("TOO HIGH"),IFTE(x<4,print("TOO LOW"),print("JUST RIGHT")));
END

A small survey.

you need an IFT() functional command? (without ELSE block)


PHP Code:
EXPORT ift(x)
BEGIN
  IFTE
(x>7,print("TOO HIGH"),IFT(x<4,print("TOO LOW")));
END
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Requesting ELSEIF - toml_12953 - 03-24-2017, 05:30 PM
RE: Requesting ELSEIF - Han - 03-24-2017, 05:38 PM
RE: Requesting ELSEIF - toml_12953 - 03-25-2017, 11:43 AM
RE: Requesting ELSEIF - compsystems - 03-24-2017 06:21 PM
RE: Requesting ELSEIF - toml_12953 - 03-24-2017, 06:52 PM
RE: Requesting ELSEIF - Carlos295pz - 03-24-2017, 07:45 PM
RE: Requesting ELSEIF - compsystems - 03-24-2017, 08:16 PM
RE: Requesting ELSEIF - compsystems - 03-24-2017, 07:16 PM
RE: Requesting ELSEIF - toml_12953 - 03-24-2017, 07:33 PM



User(s) browsing this thread: 1 Guest(s)