Jump to content


Can You Have An Openread & Openwrite At Same Time?

  • Please log in to reply
1 reply to this topic

#1 SumDumGuy3


    X-S Young Member

  • Members
  • Pip
  • 53 posts

Posted 04 September 2004 - 10:38 PM

Hello all,

I am still working on my x-loader scripts and I was writing a script to allow you to have templates (for configuration files) and then open the template and write out to the resulting config file. I find though, that when I try to open the template to read from and the config file to write to, I get an error.

I have used the openread and openwrite before but I was closing the read file before I open the write file... can you have them open at the same time? If so, any idea what I am doing wrong, and if not, then what is the handlename for?

Edit: Nevermind... not sure what I was doing wrong but I have it working now...


Edited by SumDumGuy3, 05 September 2004 - 01:22 AM.

#2 flattspott


    X-S Freak

  • Moderator
  • PipPipPipPipPip
  • 1,787 posts
  • Location:Southern California
  • Xbox Version:v1.0
  • 360 version:v1 (xenon)

Posted 05 September 2004 - 02:13 AM

Anyways yes you can...

OpenRead InFile Z:\in.txt
OpenWrite OutFile Z:\out.txt

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users