Another try (to be tested):
;Structure POINT ; already defined in PB
; x.l
; y.l
;EndStructure
Global TabletTopWidth , TabletBottomWidth , TabletHeight
Global ScreenWidth , ScreenHeight
; initialize these globals as needed...
Procedure FillScreenCoordFromTablet(*ScreenCoord.POINT,TabletX ...