On Fri, 04 Sep 2009, Alex Strickland wrote:
> Actually if I try a console app:
>
> static oMSCAL:="fred"
> static oBPTI
> memvar oMainWindow
> public oMainWindow
> function Main()
>    ? "Hello world!"
>    ? oMSCAL
> return nil
> It also fails on the second ? line.
> Is this a regression, or am I being thick?


Your code is buggy. Also all the examples you send before.
Those definitions are not file wide because you are compiling
this code without -n switch.
If you try to compile this code with -n then ypou will have
compile time error because if have:
   public oMainWindow
outside procedure/functions.
Such syntax is not supported neither by Clipper nor Harbour.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to