On 12/4/08 3:15 PM, "-= JB =-" <[EMAIL PROTECTED]> wrote:
> I am creating a new file using the open file command. I set the
> fileType after it
> is opened then I write to the file and close it as seen in the code
> below.
I think you need to set the fileType *before* the "open file" command...
> open file filePath for binary update
> set the filetype to "RevoRSTK"
> --set the stackfiletype to "RevoRSTK"
> put fld id 1009 into theFile
> write theFile to file filePath
> close file filePath
Also, you're writing text to a file that has a type/creator code that
matches a Revolution stack? If that wasn't the intention, you should change
the type/creator accordingly...
Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution