BASEDON keyword and Plain English Programming
BASEDON key word fail
EcoStruxure Building Operation
StruxureWare Building Operation site with up to release 1.3
Below is a sample program which uses the BASEDON keyword. Also, here are the steps to use that program:
- Create script program using keyword BASEDON (Below)
- Create an input and output for the program (below program that is EntreeBase and SortieBase)
- Set the input Entreebase to 1,2,3,4,5 and program errors out.
- Set input to 6 and program runs
Numeric Input EntreeBase Numeric Output SortieBase Line Debut basedon Entreebase goto 1,2,3,4,5 goto 6 Line 1 SortieBase=1 goto Suite Line 2 SortieBase=2 goto Suite Line 3 SortieBase=3 goto Suite Line 4 SortieBase=4 goto Suite Line 5 SortieBase=5 goto Suite Line 6 Sortiebase=6 goto suite Line suite if sortiebase<1 then Sortiebase=20 if ts<5 then goto suite else goto Debut Line E Sortiebase=10 goto Suite
BASEDON keyword has been submitted as an issue and expected to be corrected in a future release.