ENVIRONMENT OrderNumber := @Text(NewOrderNumber);
これらの式は同等です。
@Environment("OrderNumber"; @Text(NewOrderNumber);
@SetEnvironment("OrderNumber"; @Text(NewOrderNumber);
OldOrderNumber := @TextToNumber(@Environment("OrderNumber"));
OldOrderNumber := @Environment("OrderNumber");
NewOrderNumber := @TextToNumber(@If(OldOrderNumber = ""; "0"; OldOrderNumber)) + 1;
ENVIRONMENT OrderNumber := @Text(NewOrderNumber);
NewOrderNumber;
ENVIRONMENT SalesArea := @Prompt([OkCancelList]; "Sales Area"; "What is your sales area?"; "Central"; "East" : "Central" : "West");
@Environment("SalesArea");