delorie.com/archives/browse.cgi | search |
From: | "Chia" <chia AT top DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | (Allegro) Datafiles within Datafiles |
Date: | Sun, 31 May 1998 17:39:39 -0500 |
Organization: | 404 Software |
Lines: | 17 |
Message-ID: | <6kssb7$itn@nnrp4.farm.idt.net> |
NNTP-Posting-Host: | flex-2.top.net |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I saw in the grabber that you can have a datafile object within an datafile. How would I get data out of the second datafile? DATAFILE *dat; BITMAP *bmp; dat = load_datafile("data.dat"); bmp = (BITMAP *)dat[otherdat[3]].dat; Is what I thought it would be, but that gave me an "array subscript error." // chia AT top DOT net -- http://www.top.net/chia/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |