...
Code Block |
---|
always { ent:a := 1; // sets entity variable "a" to 1 app:b{"foo"} := 1 + my_var.defaultsTo(0); // sets top-level key "foo" in the map inside of app variable "b" ent:b{["flip", "flop"]} := "this is a string"; // hash path into map inside of entity ent:c := null; // sets entity variable to null clear ent:a // clears the entity variable so it does not exist } |