[APBeta] Running Scripts

RPEHLM robin at lauryssen-mitchell.com
Sat Feb 28 01:31:51 PST 2009


Your script needs to contain a sub called main().  For example

sub main()
  print "Main part of your program goes here"
end sub

See <http://www.astroplanner.net/reports/details/1500/1533.shtml>

Paul is working on fixing the scripts.  If there is one or two in 
particular that are of interest to you, let me know and I'll see if I 
can fix them for you if you like.

Regards
Robin

I.R. van de Stadt wrote:
>
> Am I missing something? I can't run any of the scripts, whether 
> converted from V1 or newly downloaded.
> The error is usually
>
> Script must contain a (global) main() method.
> i.e. one of:
>   Sub main()
> or
>   Sub main(args() as Variant)
>
> Even 'Observing nights' - created in de V2 era gives an error message:
> Script must not contain any calls to the main() method.
>
> Clear Skies!
> Inge
>
> ------------------------------------------------------------------------
> Ook nieuwsgierig naar de nieuwe Messenger? Download 'm hier 
> <http://download.live.com/messenger>
> ------------------------------------------------------------------------
>
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net
>   




More information about the APBeta mailing list