Metropoli BBS
VIEWER: ifer_lib.tip MODE: TEXT (ASCII)
Date: Wed, 13 Mar 1991 00:22 CST
Subject: Re: New IFERR and libraries in general
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 36

>       a) Seems that using the new IFERR posted by Dr. Wickes
>          last week screws up the indentation of RPL programs.
>          Any way to correct this?

The program decompiler built into the 48 doesn't recognize the library IFERR,
which messes up the orderly indentation.  There's no fix for this.

>       b) Seems that DETACH does not complain when attempting to
>          detach a library _not_ attached to the current directory.
>          Now, is there a _simple_ way to find out into _which_
>          directory a library is attached?

The information about which library is attached to a subdirectory is stored
in the directory, not the library.  Hence there is no simple way to
catalog library attachments.

>          I know I could use LIBS to determine whether the library
>          is _not_ attached to the current directory, but its
>          not good enough.  I suppose LIBS used with a directory
>          traversal routine could be used to locate the correct
>          directory, but its a real drag. Plus I am not entirely
>          sure about the uniqueness of the result.

This is the only way to do it; but note that a particular library can be
attached to any number of directories.

>       c) When I PURGE a detached library, the display jerks sideways
>          about one half of the screen. Is this supposed to happen?

This is normal and harmless.  The library configuration table is stored
at a lower address than the display RAM, so when the table shrinks, the
display jerks while memory is being merged.  I actually "use" this effect
to give me confirmation that the purge has actually happened.

Bill Wickes
HP Corvallis
[ RETURN TO DIRECTORY ]