Page History
...
The structure definition must be pre-defined using the Define_Struct routine.
See also
Blank_Struct(), Define_Struct, Parse_Struct, Var_To_Struct(), Chapter 7
Example
Code Block |
---|
/* Assuming the structure called RECT has been defined as being composed of 4 "signed short" elements, this code builds a rectangle structure based on the location and size of an OpenInsight form. */ declare function Get_Property, Build_Struct size = Get_Property(@window, "SIZE") left = size<1> top = size<2> right = size<1> + size<3> bottom = size<2> + size<4> rect = Build_Struct("RECT", left, top, right, bottom) |