Bob Thingum Posted December 15, 2005 Posted December 15, 2005 Hello, How can I write Chr(0) to a file? TIA.
SandelPerieanu Posted December 15, 2005 Posted December 15, 2005 $FILE = "File" FileWrite($FILE, Chr(0))
Bob Thingum Posted December 15, 2005 Author Posted December 15, 2005 $FILE = "File"FileWrite($FILE, Chr(0))Does not write anything to the file. Did you try it yourself?
Rece Posted December 15, 2005 Posted December 15, 2005 Does not write anything to the file. Did you try it yourself?Do you know how Chr(0) looks like? Just take a look to the file size. If you open it in a text editor you will see nothing but the Chr(0) is there...
Bob Thingum Posted December 15, 2005 Author Posted December 15, 2005 Do you know how Chr(0) looks like? Just take a look to the file size. If you open it in a text editor you will see nothing but the Chr(0) is there...File size is zero bytes. Did you get something else?
Bob Thingum Posted December 15, 2005 Author Posted December 15, 2005 YES!i tried and file have 1 bytes.Got it! I had to upgrade to v.3.1.1.95-beta first. Thank you, psandu.ro!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now