Bennu Game Development

English Forums => Suggestions => Topic started by: Sandman on November 26, 2007, 07:58:20 PM

Title: Special characters in strings
Post by: Sandman on November 26, 2007, 07:58:20 PM
I'd like to suggest special characters (\r, \n, \0, \\, etc) in strings.

"Hello.\n" would be the same as "Hello."+chr(10)

This brings a different way of string interpretation, as character escaping would also be useful, so it won't be fully compatible with Fenix code (the '\' char in Fenix is just a '\'). Perhaps have it as a bgdc.exe parameter again.

Another thing to consider is the way \n behaves. It's also possible to have its meaning depending on the OS (so on Windows it's CR+LF and on Unix it's only LF).

Well just an idea, but perhaps it's more work than it's worth.
Title: Re: Special characters in strings
Post by: SplinterGU on December 27, 2008, 01:34:08 AM
maybe...
Title: Re:Special characters in strings
Post by: JaViS on August 08, 2012, 11:31:36 PM
+1  :)