I am reviewing the LCB file that Bernd kindly published in order to try and get some understanding of how a widget is created.
In the code the type Point is used e.g.Where is this type documented ?
Looking in the LCB dictionary the following types are defined :
I note that the TypeDefinition allows the definition of an alias to a core type but I can not see it being used in the code.
In the code the type Point is used e.g.
CODE:
private variable mCenterPoint as Point
Looking in the LCB dictionary the following types are defined :
So where does Point come from ?The range of core types is relatively small, comprising the following:
nothing: the single value nothing
Boolean: one of true or false
Integer: any integral numeric value (size limitations apply)
Real: any numeric value (size and accuracy limitations apply)
Number: any integer or real value
String: a sequence of UTF-16 code units
Data: a sequence of bytes
List: a sequence of any values
Array: a mapping from strings to values
any: a value of any type
I note that the TypeDefinition allows the definition of an alias to a core type but I can not see it being used in the code.
Statistics: Posted by Simon Knight — Thu Jul 18, 2024 8:48 am