[APBeta] Script style advice

RPEHLM robin at lauryssen-mitchell.com
Sun Jan 25 14:30:29 PST 2009


Hi Paul,

I'm currently using outside of a sub/function.

Regards
Robin

Paul Rodman wrote:
>
> On Jan 25, 2009, at 12:21 PM, RPEHLM wrote:
>
>> Is this sort of thing (in APScript) partiularly ugly for technical or 
>> stylistic reasons?
>>
>> dim Now as double = CurrentDate
>
> No. I use it a lot.
>
> Note, though, that this only works in V2 scripts, and I believe does 
> not work outside of a sub/function (which is one reason for 
> considering enforcing a "sub main()")
>
> Paul R.
>
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net
>
>




More information about the APBeta mailing list