T
tpavlovic
Guest
11.6.2 on Win32 There is indeed something weird. This my test: using System; namespace TestLib { public class Test { public int? Int { get; set; } public string String { get; set; } public DateTime? DateTime { get; set; } public int? Int2; public string String2; public DateTime? DateTime2; public Test() { } public Test(int? _int, string _string, DateTime? _dateTime, int? _int2, string _string2, DateTime? _dateTime2) { Int = _int; String = _string; DateTime = _dateTime; Int2 = _int2; String2 = _string2; DateTime2 = _dateTime2; } } } // **** USING TestLib.*. DEFINE VARIABLE oTest AS CLASS Test NO-UNDO. DEFINE VARIABLE oTest2 AS CLASS Test NO-UNDO. ASSIGN oTest = NEW Test() oTest:Int = ? oTest:String = ? oTest
ateTime = ? oTest:Int2 = ? oTest:String2 = ? oTest
ateTime2 = ? oTest2 = NEW Test(?, ?, ?, ?, ?, ?) . MESSAGE oTest:Int oTest:String oTest
ateTime oTest:Int2 oTest:String2 oTest
ateTime2 SKIP oTest2:Int oTest2:String oTest2
ateTime oTest2:Int2 oTest2:String2 oTest2
ateTime2 VIEW-AS ALERT-BOX INFO BUTTONS OK. And the result is: 0 01/01/001 00:00:00,000 0 01/01/001 00:00:00,000 ? ? ? ? ? ? Assigning properties/fields is obviously wrong.
Continue reading...
Continue reading...