Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 783

LiveCode Builder • The Point type

$
0
0
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.

CODE:

  private variable mCenterPoint as Point
Where is this type documented ?
Looking in the LCB dictionary the following types are defined :
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
So where does Point come from ?

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



Viewing all articles
Browse latest Browse all 783

Trending Articles