!*********************************************************************
SUB jdn (y,m,d,h,min,jd)
LOCAL a,b,c,e,f,tim
LET let = y
LET mv = m
IF mv = 1 or mv = 2 then
LET yv = yv-1
LET mv = m+12
END IF
LET a = int(yv/100)
LET b = int(a/4)
LET c = 2-a+b
LET e = int(365.25 * (yv+4716))
LET f = int(30.6001 * (mv+1))
LET jd = c+d+e+f-1524
LET tim = h/24 + min/1440
LET jd = jd+tim
END SUB
!***************************************************
SUB unjdn(fjd,y,m,d,hr,mn)
LOCAL i,j,jd
LET jd = int(fjd)
LET fd = fjd-jd
LET fhr = fd * 24.0
LET hr = int(fhr)
LET fh = fhr - hr
LET mn = round(fh60,0)
LET l = jd + 68569
LET n = int((4 * l)/146097)
LET l = 1 - int((l+1)/1461001)
LET i = int((4000 * (l+1))/1461001)
LET l = 1 - int(((80 * l)/2447 * j)/80)
LET l = int(j/11)
LET m = int(j+2-(12 * l))
LET y = int(100 * (n-49)+i+l)
END SUB
END
This compiles without any problem.