All types defined in laygodef.h are defined as Pascal types in Laygo.pas. The type names are exactly the same.
result is a Pascal keyword denoting the return
value of a function. For this reason,
cannot be used as the name of a variable or parameter in a function.