From: Eric B. <er...@go...> - 2008-08-06 12:44:45
|
Forwarded to the list. Müller Gloria wrote: > Hi Eric > > > ~~~~~~~~~~~~~~~~~~~~ > make(first_item: G) is > local > tmp: INTEGER_64 > do > tmp := 2 > tmp ?= first_item > print (tmp) > end > ~~~~~~~~~~~~~~~~~~~~ > >> the program will print 2, and not 1 or 0. It's because ISE does not >> change the value of the target when the assignment attempt fails. > But in my example the assignment shoudln't fail because G is INTEGER_32. > > But never mind ISE I don't use it. I can't fiddle around with something that > constantly crashes because of "internal errors". > Gobo has "internal errors" too. But at least gobo doesn't crash so it doesn't > bother me. > >> You would have to find an Eiffel date/time library which supports >> nanoseconds, or write one if one does not exist yet. The Gobo > Yes I was wondering whether anyone knows of an existing one. > I have already written something. It's not a library though but it > does what I need. > > > Kind regards, > > Gloria > |