home *** CD-ROM | disk | FTP | other *** search
- Path: nordwest.pop.de!usenet
- From: Plate@Mail.HB.Provi.de (J÷rg Plate)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: More
- Date: 21 Jan 96 16:18:14 +0100
- Organization: POP NordWest, Ganspe, FRG
- Message-ID: <690.6594T978T710@Mail.HB.Provi.de>
- References: <9601201749.AA00046@cliffe.demon.co.uk>
- NNTP-Posting-Host: henschel.hb.provi.de
- BCC: Plate@Mail.HB.Provi.de
- X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
-
-
- Moin, moin,
-
- > if(!(fh = fopen("T:xx", "w")))
- You cannot mix "BPTR"s and "FILE *"s... One is for dos.library calls
- and the other for stdio.
-
- Use:
- if(!(fh = Open ("T:xx", MODE_NEWFILE)))
-
- > Execute (textp,0,fh);
- But cannot use "fopen" & friends because "Execute" needs a BTPR...
-
- dos:
- Open(), Read(), Write() and Close();
-
- stdio:
- fopen(), fread(), fwrite() and fclose();
-
-
- J÷rg
-
- --
- EMail: Plate@Mail.HB.Provi.de CA "I'm working on it" L.Holt SZTB
- WWW: http://WWW.Informatik.Uni-Oldenburg.de/~kultur/ IRC: kultur
- "the message is that it's brains that matter, kids;" Iain M. Banks
- "gonads are hardly worth making a distinction over" Player of Games
-
-