Robert Newson wrote:
> Just tried:
> 
>       PRINT DATE(1996,1,10,12,59,59)
> 
> on my JS [ROMed QL - later than JM] and it comes up with:
> 
>       bad parameter
> 
> /was/ it a Minerva improvement?

So it would appear. From Minerva Technical Guide, section BAS.1:

"The date procedures now accept a wider range of parameters. DATE 
accepts the six-parameter format formerly used by SDATE, allowing you to 
  convert this form for use with DATE$ and DAY$ and SDATE now accepts a 
single parameter in additional to the original six parameter syntax. So:
        PRINT DATE$ (DATE(1962,3,21,9,0,0))
will print      1962 Mar 21 09:00:00
and more usefully
        PRINT DAY$(DATE(1962,3,21,9,0,0))
will print      Wed"

-- 
Regards,

Stephen
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to