Posted by Tim Streater on 03/07/06 14:12
In article <1141409437.320652.250950@t39g2000cwt.googlegroups.com>,
"fritz-bayer@web.de" <fritz-bayer@web.de> wrote:
> Are you serious about this? I mean you are right that it should be
> zero, but could it be, that I have to use a different expression? Or
> use a function instead of using the & ? Have you tried it yourself on
> your machine? Do you get the same result?
If I were given such a porting job, I would be inclined to take a step
back and see what the purpose of the function was. As has been
eloquently pointed out, you are unlikely to succeed if all you do is try
to port the code in a mechanical way.
Is the function called in one place in the code? In many? Figure out
what you want the function to do and only then worry about how to do it.
-- tim
[Back to original message]
|