delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/31/20:31:31

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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019