Just a bit of old code... to give you the date of the next Friday.
Regards
Griff
Keep [Smile]ing
Code:
FUNCTION NEXTFRIDAY
PARAMETERS m.MYDATE
PRIVATE m.MYDATE
IF PCOUNT() < 1
m.MYDATE = DATE()
ENDIF
m.MYDATE = m.MYDATE + (6-(DOW(m.MYDATE,1)-(INT(DOW(m.MYDATE,1)/6)*7)))
RETURN(m.MYDATE)
Regards
Griff
Keep [Smile]ing
There are 10 kinds of people in the world, those who understand binary and those who don't.
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0
I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
There is no place like G28 X0 Y0 Z0