LispWorks Foreign Language Interface User Guide and Reference Manual > 1 Introduction to the FLI > 1.2 Using the FLI to get the cursor position

NextPrevUpTopContentsIndex

1.2.3 Accessing the results

The position of the cursor is now stored in a POINT structure in memory, and location is a pointer to that location. To find out what values are stored we use the foreign-slot-value accessor, which returns the value stored in the specified field of the structure.

(fli:foreign-slot-value location 'x) (fli:foreign-slot-value location 'y)
LispWorks Foreign Language Interface User Guide and Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex