On 2011-11-22 13:02, michael.vancann...@wisa.be wrote:
> 
> No, if I was to program it using varname, I would get the name of the
> parameter in the function SendInteger.

That's what I thought - and mentioned that fact.


> You need the address of the variable that was passed to SendInteger.
> Obviously, there is no way the compiler can know that.


In that case I have no more use cases for the "name of var" feature. :)



Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to