Hello Viktor In -xhb mode hbMK2 is issueing -n switch as first parameter to harbour.exe no matter if I set it as -n0 whatever which probably 2007 Xharbour does not understand and issued Error E001 is ABC.PRG(32) Error E0001 Statement not allowed outside of procedure or function.
Then I tried to pass -n- as a flag in .hbp and the error disappeared. Is it normal behavior ? Syntax: C:\xharbour\bin\harbour.exe <file[s][.prg]> [options] So probably in -xhb mode, C:\xharbour\bin\harbour.exe -n file(s).prg -m -w0 -es0 -D... -n is invening something. Also with above flags I get in bulk warnings like: C:\dev_projects\some.prg(50) Warning W0001 Ambiguous reference: 'E_VAR' and process terminates. Any idea, what should I look into? ----- enjoy hbIDEing... Pritpal Bedi http://hbide.vouch.info/ -- View this message in context: http://harbour-devel.1590103.n2.nabble.com/hbMK2-xhb-issues-switch-n-by-default-which-breaks-process-tp5005754p5005754.html Sent from the harbour-devel mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour