literals
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
literals [2018/02/12 07:07] – wolfgangriedmann | literals [2018/02/14 05:10] – [String literals] wolfgangriedmann | ||
---|---|---|---|
Line 12: | Line 12: | ||
< | < | ||
Console.WriteLine( i"Hi {cValue}" | Console.WriteLine( i"Hi {cValue}" | ||
+ | |||
+ | Since in the VO dialect a string can also be defined with single quotation marks, there is no possibility for the compiler to see a difference between a single character string and a char. Therefore you should prefix a char literal with a '' | ||
+ | < | ||
For more details please see [[strings|Strings and their prefixes]] and [[string_char_byte|String, | For more details please see [[strings|Strings and their prefixes]] and [[string_char_byte|String, |
literals.txt · Last modified: 2018/08/20 04:05 by wolfgangriedmann