Post Reply 
Why does this Friday 13th program fail?
10-16-2017, 02:04 PM
Post: #2
RE: Why does this Friday 13th program fail?
SORRY... please ignore previous posting. My ENDs were in the wrong place. This works:

Code:
EXPORT FRI13(Y)
BEGIN
LOCAL j;
L9:={};
FOR j FROM Y+.0113 TO Y+.1213 STEP .01 DO
IF DAYOFWEEK(j)==5 THEN L9:=CONCAT(L9,j) END;
END;
RETURN L9;
END;

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why does this Friday 13th program fail? - Joe Horn - 10-16-2017 02:04 PM



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