Re: Neil.e clear_screen() fix
On Wed, 19 Apr 2000 14:16:24 -0400, Mike Sabal wrote:
>
>There's no endless loop because oldclear_screen() can't see the user
defined clear_screen(). So it looks for the internal procedure with that
name, and does what is expected. In order for oldclear_screen() to see the
user's clear_screen(), it would have to be called with
call_proc/routine_id. This kind of method is useful for overriding built-
in Euphoria functions/procedures. There's a lot more information about
this in the documentation, especially relating to compare and sort.
>
>HTH,
>Michael J. Sabal
Ahhh! (light bulb turns on), thanks for clearing that up for me. I guess
I'm too used to working with Windows (& win32lib) where routine_id is
frequently used (and clear_screen is usually never used).
-- Brian
|
Not Categorized, Please Help
|
|