Forum Post: RE: Inconsistency assigning date var to datetime-tz vs. using the date function

Status
Not open for further replies.
T

tbergman

Guest
Hi Robin, I had seen the documentation for the DATE function, I'm just concerned that there's no documentation about the implicit conversion done during direct assignment. Or at least none I've seen. Other than this, all implicit conversions in Progress that I've seen behave in a manner consistent with their explicit conversions. Take for example: MyInt = Int(MyDecimal) vs. MyInt = MyDecimal or MyInt64 = Int64(MyInteger) vs. MyInt64 = MyInteger. Do I have to start worrying about subtle differences between these statements? In this particular case, I would have preferred a compile time error to the behavior observed. Tom

Continue reading...
 
Status
Not open for further replies.
Top