[futurebasic] re: [FB] BB's "plain ascii format"

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

From: Bowerbird@...
Date: Wed, 29 May 2002 21:54:03 EDT
al said:
>   Somthing like this:
>
>   type of format (gif, aif, etc).
>   Name of graphic or sound, 
>   Number of bytes the file uses.
>   Put the file here.
>   keep looping.
>
>   GIF
>   myGif
>   5634
>   picture data here taking up 5634 bytes
>   wav
>   coolMusic.wav
>   12765
>   wav data here taking up 12765 bytes

yeah, that's pretty much what i had in mind.

but the "put the file here" line needs elaboration.

for want of a better way of describing it,
what i want is a file that can be sent via e-mail.

that means long sequences of characters have to be
line-broke, and chr$<32 and chr$>127 are disallowed.
(i guess this is what i meant when i said "plain ascii".)

so the pict and wav data of 5634 and 12765 bytes
have to be massaged in some way for that vehicle.
(might be binhex, might be some other simple format.)

in case it's not obvious, what i want to do here
is replicate the resource-fork in a data-fork --
write it out, so i can later read it in and act on it.
-- as that enables me to move my e-book content-files
over to the p.c. platform, as well as up to mac os x...

-bowerbird