Uh... how to write " in a file? :)
BlitzMax Forums/BlitzMax Beginners Area/Uh... how to write " in a file? :)
| ||
This isn't working... :)WriteLine file, 'they call me "Dude"' |
| ||
WriteLine file, "they call me ~qDude~q" |
| ||
See Help->Language->Literals for list of other escape characters. |
| ||
Alternatively:WriteLine file, "they call me "+chr$(34)+"Dude"+chr$(34) |
| ||
Using escape chars is easier as you don't have to mess around with concatenation. |
| ||
Forgot to thank about this... so thanks now! :) |