Set und Let
set x = 3+4;
let y = 3+4;
Set speichert die rechte Seite einfach in der Variablen x, der Inhalt von x ist also 3+4.
Let führt die rechte Seite erst aus, der Inhalt von y ist somit 7. Let wird somit benötigt um innerhalb des Skriptes Funktionen wie today() auszuführen:
let heute = today();
$() Notation warum?
Ohne Notation würde das Skript innerhalb einer Load Anweisung ein Feld suchen welches x lautet:
Load A,x From Source;
Mit Notation hingegen weiß das Skript das es sich um eine Variable und nicht um ein Feld handelt:
Load A,$(x) From Source;
Nutzen Sie im Skript allerdings VBA wird die Variable ohne $() Notation angesprochen:
if x = 7 then
Endif;
Sehen Sie sich ggf. auch das Kapitel Variablen an der Oberfläche aus dem Design Cookbook an.