Post Reply 
SIGN Function
01-04-2017, 11:55 AM
Post: #5
RE: SIGN Function
Well, you've bumped into an interesting situation there ...
There is a missing semicolon on the PRINT("Date ??") <==
BUT, the compiler doesn't pick up the syntax error. <BUG discovered>.

Another approach, just for fun:

Code:

EXPORT OKDATE(J,M,A)
BEGIN
  IFTE( (SIGN(J) OR SIGN(M) OR SIGN(A))==0,PRINT("Date ??"), PRINT("Date OK") );
END;

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
SIGN Function - ggauny@live.fr - 01-04-2017, 08:19 AM
RE: SIGN Function - Carlos295pz - 01-04-2017, 10:58 AM
RE: SIGN Function - DrD - 01-04-2017, 11:04 AM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 11:38 AM
RE: SIGN Function - DrD - 01-04-2017 11:55 AM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 12:19 PM
RE: SIGN Function - StephenG1CMZ - 01-04-2017, 04:19 PM
RE: SIGN Function - Didier Lachieze - 01-04-2017, 03:12 PM
RE: SIGN Function - ggauny@live.fr - 01-04-2017, 03:34 PM
RE: SIGN Function - Didier Lachieze - 01-04-2017, 04:10 PM
RE: SIGN Function - DrD - 01-05-2017, 12:38 PM
RE: SIGN Function - DrD - 01-09-2017, 10:33 AM



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