Puzzle #1: In the Eiffel library class DATE there are both "make_now" and "make_now_utc" features (even though there seems to be no mention of "make_now_utc"...
How do you construct and execute Eiffel classes from C#? I've managed to get C# to see the class. indexing description: "Hello World example with Eiffel for...
Dear, I think that when you make DATE object with make_now_utc the date is UTC (GMT) and when you make it with make_now the date is your local date. Say, if...
The following short program may illustrate my original question ("Puzzle #1") more succinctly: class TEST feature here: DATE_TIME utc: DATE -- feature...
Dear Eiffelers, Does anybody know how to print a numerical value of an instance of INTEGER_64 on standard output? Thank you. Yours sincerely, Robert Jurjevic...
1358
CRISMER Paul-Georges
paul-georges.crismer@...
Feb 4, 2003 10:10 am
let i : INTEGER_64 print it on standard outptut : io.put_string (i.out) Hope this helps, Paul G. Crismer...
Dear Paul, ... It is working fine although I haven't tested it with "big" numbers (those who do not fit into INTEGER). Thank you. Yours sincerely, Robert...
hi I'm trying to validate a string as 3 letters followed by 3 numbers using the code below is_course_code : BOOLEAN is -- is input a valid course code? local ...
Brian Heilig writes: Also, `not (is_digit)39; will only tell you if the CHARACTER is not in "0123456789". This means special characters (e.g. !@#$%^&*() etc.)...
`is_integer39; is a query on a STRING while calling `item' on a string returns a CHARACTER. Class CHARACTER has the query that you need for this. Regards Chris...
thanks for all the help! unfortunately im running into problems again i want to take a 10 digit string which i have checked is numeric, and turn it into 10...
Hi Ben, ... Convert the CHARACTER to a STRING using `out', and then call `to_integer39;. Alternatively you can use `code' to return the ASCII code of the...
Hi, Ben. You can ask a STRING like "1234" if it is an integer or not. But ask a CHARACTER if it is_digit. You can use substring (4,6) to get just characters 4...
... Hi, Ben. You can use CHARACTER's code query to get the ASCII value (an integer) for the CHARACTER. The expression ('0').code gives you the ASCII value (48)...
Ben - You asked "why does is_integer work sometimes...?" The answer is that 'item' of a STRING returns a result of type CHARACTER, and is_integer is not...
Unfortunately, as you have observed, CHARACTER does not have a feature that converts the character value to an integer value. Instead of playing C-think style...
A month or two ago, I found I couldn't use the ODBC library under dotnet. Manu was kind enough to send me some code fixes, but I never could get it all to...
The only issue that I have with your suggestion is that you start generating garbage. I understand the desire to be ported across different OSes, but I ...
In 5.3 we have added `make_now_utc39; in DATE_TIME and TIME class. But in the case of a DATE, this is normal that the time is by default set to `12am'. Manu...
... I figure out I should give some rational on why WIDE_CHARACTER was made obsolete. We first thought that having two classes CHARACTER and WIDE_CHARACTER...
Dear Manu, ... I do not understand why create utc.make_now_utc should set the time to 12 am when UTC is thicking like any other time. For example I am writing...
DATE is the class for dates only. TIME is the class for time only. DATE_TIME contains both. Since the OS represents date and time as a single time_t value,...
I forgot to add that 12:00 AM is the value 0 for the time component. Gary. ... __________________________________________________ Do you Yahoo!? Yahoo! Mail...
... obsolete. ... help to ... see a ... WIDE_CHARACTER. ... having ... the ... this class ... needs to be ... Thanks very much, Manu. This makes sense. In the...
Dear Eiffelers, I have the following piece of code... if client_socket.ready_for_reading then client_socket.read_line end create server_line.make_from_string...
Robert - This is farily simple to do in EiffelNet, using a MEDIUM_POLLER and a POLL_COMMAND. The advanced EiffelNet example ($ISE_EIFFEL/examples/net/advanced)...
I'm trying to work through the sample Eiffel project in the EiffelStudio v5.2 Guided Tour. I'm on a Linux system (Mandrake 9.0). The system compiles OK...
There is a version of libpng in the $ISE_EIFFEL/C_library/libpng directory. Your project settings refers to that library, which is 1.0.8. You can change the...