[QGIS-Developer] Variable syntax: $ vs @

Neumann, Andreas a.neumann at carto.net
Mon Jun 19 04:53:55 PDT 2017


While preparing for a workshop on expressions I wonder how to explain
why some variables are referenced with the $ sign (like $geometry) while
other variables start with the @ sign, like @row_number, @layer_name. 

I know that it has historical reasons and that variables with the @ sign
are newer and are implemented using a different technology. 

But are there plans to get rid of the old $ sign notation and move
everything to the @ sign notation? 

Just wonder how I best explain this to the participants of the workshop.

Thanks for your reply, 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170619/f564f808/attachment.html>

More information about the QGIS-Developer mailing list