On Fri, Jul 02, 2021 at 04:38:49PM +0100, [email protected] wrote:
> All,
> 
>                 While working through the teach file "vision4" and playing
> with Hough transforms I have noticed that the call "rc_context" is not
> defined i.e. "undef".
> 
> A typical call to save the window context and coord. System should be
> "rc_context(false) -> xy_context" say, according to the teach file.
> 
> Does anyone know of this? Has the function been replicated? And if so,
> replaced by what?

Can not comment specifically on 'rc_context'.  But there is general
issue: a lot functions have to be loaded before use.  In particular
'rclib' and 'rcmenu' need to be loaded before use.  Older Birmingham
setup loaded parts of them into startup image, but this is undsirable
for various reasons and not done in V16.  This is list of things
that were loaded into startup image, but currently are not:

rc_graphic
    $packages/teaching/teaching.p \
    $packages/bhamlib/bhamlib.p \
    $packages/vedutils/vedutils.p \
    $packages/rclib/rclib.p \
    $packages/vedutils/lib/vedscreendown.p \
    $packages/bhamlib/auto/vedsetwindow.p \
    $packages/rclib/auto/rc_control_panel.p \
    $packages/rcmenu/rcmenu.p \
    $packages/vedmail/vedmail.p


IMO, no package should assume that some other package is loaded
uless it contains 'uses' (or equivalent).  So probably popvision
files should be fixed by adding apropriate 'uses' (I have some
fixes of this sort in my priviate popvision tree, but it is
probaly far from complete).

-- 
                              Waldek Hebisch

Reply via email to