Dear friends, the following sample looks like a xHarbour bug to me:

Procedure Main()
   MEMVAR->Doug := "right"
   MEMVAR->Enrico := "wrong"
   SET PRINTER TO &(MEMVAR->Doug)
   SET PRINTER TO &(MEMVAR -> Enrico) //Syntax error
Return

Why the spaces around -> can't be accepted by the compiler? I found a 
similar situation in a Clipper NG sample (-> operator) so I think it's 
legal. Any operators can have spaces before and after, why the operator -> 
not?

What are your opinions?

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page:         http://www.emagsoftware.it/emgmusic 


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to