User Tools

Site Tools


null_string
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


null_string [2019/08/19 08:32] (current) – created wolfgangriedmann
Line 1: Line 1:
 +====== null_string ======
  
 +The behavior of a string variable with a null_string value is defined by the /vo2 compiler option:
 +
 +With /vo2+ NULL_STRING is translated to String.Empty
 +Without /vo2 NULL_STRING is translated to NULL
 +
 +Calling the :ToString() method on a variable that has a null_string value throws an exception if the code is compiled without the /vo2 option.
 +
 +Source: [[https://www.xsharp.info/forum/private-product/1392-null-string-and-the-x-runtime#10210|https://www.xsharp.info/forum/private-product/1392-null-string-and-the-x-runtime#10210]]
null_string.txt · Last modified: 2019/08/19 08:32 by wolfgangriedmann