Next Previous Up Top Contents Index

1.2 Using the FLI to get the cursor position

1.2.3 Accessing the results

The position of the cursor is now stored in aPOINT structure in memory, andlocation is a pointer to that location. To find out what values are stored we use thefli: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 - 12 Oct 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker