an annual calendar somewhere?
Andre.Bisseret at inria.fr
Sat Feb 27 08:08:09 CST 2010
2010/2/26 Richard Gaskin <ambassador at fourthworld.com>:
>> FWIW, here's a a function I pulled out of my archives which is a
>> sort of
>> variant of Cal in native RevTalk, making a single month from a date
>> to it. I'll leave it as an exercise to the user to make a year out
>> of it if
>> One of the nice things about RevTalk is that the weekDayNames and
>> functions return values in the current system's local language, so
>> this is
>> localized without having to do anything.
>> Interestingly, without the overhead involved in going to shell it's
>> about 20
>> times faster on my machine than calling shell("cal").
Le 27 févr. 10 à 01:12, zryip theSlug a écrit :
> It's instant on my machine. So with your script I could back in
> time? 8-)
Very fast indeed on my machine too. Thank you much Richard
> However as far I have understood it seems that the property
> useSystemDate set to true is necessary to obtain values according with
> the local language.
> Plus, a second difficulty exists: the week don't starts necessary a
> Sunday but a Monday.
> So I try to improve the Richard's solution like this:
> If some members of the list could validate this script in their own
> language? 8-)
> -> If your weeks starts a Monday call the function like this:
> set useSystemDate to true
> put cal(the date,"Monday") into fld "myField"
Works perfectly here ; very fast too
And thanks a lot Zryip for your other recent posts : links to the work
of David Beck and to your experiment 009.
Sure will give me usefull hints
Best regards from Grenoble
More information about the use-livecode