From: Shawn Hargreaves Newsgroups: comp.os.msdos.djgpp Subject: Re: Accessing Allegro Datafile Properties Date: Fri, 20 Mar 1998 22:08:17 +0000 Organization: None Message-ID: References: <01bd5369$37a566a0$LocalHost AT default> NNTP-Posting-Host: talula.demon.co.uk MIME-Version: 1.0 Lines: 16 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Rylan writes: >What I want to do is to read the "XSIZ" and "YSIZ" properties for a >datafile object so that I can use these values as integers in the code >that will handle that particular datafile object. Why not just look up the w and h fields in the bitmap or sprite object? If you do need to use the property strings, it is as simple as calling the function: get_datafile_property(&datafile[index], DAT_ID('X','S','I','Z')); -- Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/ "Pigs use it for a tambourine" - Frank Zappa