On Wed, 04 Feb 2009, Barry Jackson wrote:

Hi Barry,

> OK not to worry - I changed my function name and it's working.
> Easier than I expected with search and replace.
>> Hi - this is probably my fault, but I am trying to port a large Clipper 
>> 5.1 application to Harbour that has run well since 1990.
>> I have a UDF which I (stupidly) called get() which also calls the Clipper 
>> GET command within it.
>> Calls to get() run as far as the internal GET command which is now (in 
>> Harbour) calling my get() function again rather than using the GET 
>> command.
>> Before I change the name of get() and all the code that calls it, is there 
>> another way out of this?

The problem is cause bu Harbour class function: GET()
   CREATE CLASS Get
Probably it should be renamed to:
   CREATE CLASS Get FUNCTION TGet
and also GetNew() should be moved from tgetint.prg to tget.prg as:
   FUNCTION GetNew( ... )
      RETURN TGet():New( ... )
and it should be used in other code instead of get():new()

Thanks for information.
Can someone more familiar with GET system look at it and make above
modifications?

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to