[futurebasic] Re: [FB] [FB^3] Saving file in Toolbox

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2000 : Group Archive : Group : All Groups

From: AlStaff@...
Date: Tue, 9 May 2000 08:06:19 EDT
>In converting a program from FB^3's FBII emulation to the Mac Toolbox
>(a.k.a. Rntm UltraLite) mode, everything has gone smoothly except for these
>two lines:
>
>open "O", 1, filename,, volRefNum
>write file #1, address, numBytes
>
>(The variables are declared
>dim filename as str63, volrefNum, address as ptr, numBytes as long).
>
>Has anyone made a successful conversion of these, or similar, file-handling
>statements?

On the FB3 CD, there's a toolbox file handling include. It's located at
FutureBasic^3:Examples:Handbook Examples:File Handling:Toolbox file 
handling.incl

A Toolbox file handling.incl also existed in the FB II Handbook files if you 
need one for FB II.


Al Staffieri Jr.

AlStaff@...
http://members.aol.com/AlStaff/index.html