-----Messaggio Originale----- 
Da: "Przemyslaw Czerpak" <dru...@poczta.onet.pl>
A: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it>; 
"Xharbour-Developers List" <xharbour-developers@lists.sourceforge.net>
Data invio: lunedì 1 ottobre 2012 18.04
Oggetto: Re: [xHarbour-developers] Spaces around -> operator


> There is no such limitation in Harbour, xHarbour and in Clipper.

Great! I'm happy to ear that! :-)

> So all what you need is investing few minutes and learn how PP
> in Clipper and [x]Harbour works and then use correct syntax.

Sorry, the sample is not mine and I report it here without paying enough 
attention to the code.

> Instead of:
>   SET PRINTER TO &(MEMVAR -> Enrico)
> you should use:
>   SET PRINTER TO ( &(MEMVAR -> Enrico) )
> just to inform PP what you expect.

WIth this new sample

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

I get

Error BASE/1003  Variable does not exist: WRONG

What am I missing?

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