Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Writing a file in a certain position
« previous
next »
Print
Pages: [
1
]
Author
Topic: Writing a file in a certain position (Read 452 times)
Pah1023
October 07, 2009, 10:34:30 PM
I am making a script that like lets say, writes what ever i echo in a file in a certain position, how would i do that?
Ad Bot
Advertisement
Amade
October 07, 2009, 11:44:47 PM
What do you mean by a certain position?
Resonance_Cascade
October 08, 2009, 12:00:15 AM
You can use openForAppend to write to the end of a file, otherwise you'll need to read each line and store them in variables, modify your "certain position" and then write each line back into the file using openForWrite
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Writing a file in a certain position