On 06/25/2011 09:41 PM, nando wrote: > Yes-Silly me! > How about trying the print statements with ; and not& > I'm curious how the bug manifests.
It displays the same results: Public Sub Main() Dim t As Float t = CFloat(Now) ' Current time and date. Print "1: CDate(t): "; CDate(t) Print "2: Format$(CDate(t), \"hh:nn:AM/PM\"): "; Format$(CDate(t), "hh:nn:AM/PM") Print "3: CDate(t): "; CDate(t) Print "4: Format$(CDate(t), \"hh:nn:AM/PM\"): "; Format$(CDate(t), "hh:nn:AM/PM") Print "5: CDate(t): "; CDate(t) End 1: CDate(t): 06/25/2011 23:52:54 2: Format$(CDate(t), "hh:nn:AM/PM"): 11:52:PM 3: CDate(t): 06/25/2011 11:52:54 4: Format$(CDate(t), "hh:nn:AM/PM"): 11:52:AM 5: CDate(t): 06/25/2011 11:52:54 Out of curiousity, what's the difference between concatenating strings with ";" versus "&"? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user