Path: seq!spell
From: Poul-Henning Kamp <phk@data.fls.dk>
Subject:  v01i023:  prcl - Port Recall program v1.0, Part01/01
Newsgroups: comp.sources.hp48
Followup-To: comp.sys.hp48
Approved: spell@seq.uncwil.edu

Checksum: 2271184336 (verify with brik -cv)
Submitted-by: Poul-Henning Kamp <phk@data.fls.dk>
Posting-number: Volume 1, Issue 23
Archive-name: prcl/part01

Hi,

Here is a small, but very usefull program:  PRCL ( Port Recall )

It takes an real on the stack, and recalls all objects (if any) in that
port and leaves the number of objects at the bottom of the stack.  This
allows objects from read-only cards to be recalled.

SYNTAX:

	Nport --> PRCL --> OBJn, .. OBJ1, Nobj

If you do not feed it a real, it will say something like:
	XLIB 2342 23 Error:
	Bad Argument Type
this is a harmless side effect of not having it in a library.

If you feed it a negative number you get port 0, if the number is above 2
you get port 2.

The source is included for those who use HACKIT ASC->


-- 
phk@data.fls.dk		  ||  A host is a host from coast to coast,
Poul-Henning Kamp	  ||  & no one will talk to a host that's close,
FLS DATA A/S		  ||  Unless the host (that isn't close)
Phone: (+45) 36 18 12 35  ||  is busy, hung or dead.
Fax:   (+45) 36 18 12 18  || 				Anon (?) 

