Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!caen!uwm.edu!ux1.cso.uiuc.edu!news From: resnick@cogsci.uiuc.edu (Pete Resnick) Newsgroups: comp.sys.mac.programmer Subject: Re: Map info in PRAM? Message-ID: <1991Jan15.224711.1379@ux1.cso.uiuc.edu> Date: 15 Jan 91 22:47:11 GMT References: Sender: news@ux1.cso.uiuc.edu (News) Organization: Beckman Institute - UIUC Lines: 32 In article saaf@joker.optics.rochester.edu (Lennart Saaf) writes: >I am trying to access the lattitude and longitude information that is >used by the Map cdev. This is part of the Script Manager 2.0. The interim chapter was on apple.com some time ago, but you will have to look and see if it is still there. Anyway, you call: ReadLocation(&myLocation); where myLocation is a: struct MachineLocation { Fract latitude; Fract longitude; union { char dlsDelta; long gmtDelta; } gmtFlags; }; For use of the gmtFlags, see the documentation. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD