1. I am trying to understand how scripting works in DeltaV Graphic studio. Understood that syntax part is majority TYPE SCRIPT and DeltaV itself has provided inbuilt functions.
2. In my effort to understand in deep, got stuck on following part of script
Query : why TYPES is used in this expression
I have understood following
1. The script basically deals with position of pop display opened.2. Placement is a object and it has multiple property, values of which determine pop display position. (Pic attached from books online).3. NEW keyword basically defines new instance of object which is Pos.4. Let keyword is defining a variable
I am not able to understand why TYPES is written in this expression ??Thanks alot for any help/hint in understanding this.
Hi Cedric Dawnhawk
Thanks for your reply. I received following reply from Emerson product engineer
I am not a JS programmer but i am able to understand that Placement is a JS class.
But he is saying TYPES is an object which holds DeltaV classes.
Can a object store classes ?? I learned that object has properties their values and methods. Class is basically one of the way through which we can create objects.
Thanks !
In reply to Devpriy sahu:
Andre Dicaire
In reply to Andre Dicaire: