Two questions to better understand values

Bear in mind that the dot extension is for accessing numbers that are already in the Variable. If your Variable VarShape contains 21,33,44,88 for example you can use the dot notation to retrieve one of those numbers, or to perform a calculation using those numbers (like to work out the mid point where the window is positioned on screen). In other words you would not create a variable VarShape.width = 10. But you would use the syntax VarShape.width to retrieve one of the four numbers already in VarShape. And you could only use that dot notation in a Calculate field (not in a text field).

By coincidence there is another Thread on this exact thing which explains it much better than I can. The answer from @peternlewis in this post is very good I think:

3 Likes