LLAMEDOSO Posted November 15, 2018 Posted November 15, 2018 I want to write a string with a binary 0 at the front to a file. The attached file shows what I want to do but it does not work. I'm a newbie to Autoit, finding it very good but the file operations seem difficult to me. Also miss the astr = bstr[1.. 7] function that's in other languages. Snppet.au3
boomingranny Posted November 15, 2018 Posted November 15, 2018 (edited) do you mean you want Ascii character code 0 (the first one in the ascii table?) Chr(0) should do it Edited November 15, 2018 by boomingranny made answer a bit clearer
LLAMEDOSO Posted November 20, 2018 Author Posted November 20, 2018 Thank you, I'd forgotten that, long time since I used C. Been using the Euphoria language for some time.
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