[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Mar 15 15:01:42 2000 
Subject:Re: loading lib files from Unix 
From:Aaron Sloman See text for reply address 
Volume-ID:1000315.03 

[To reply replace "Aaron.Sloman.XX" with "A.Sloman"]

I tried replying via posting to pop-forum but something is wrong
with the mail->news gateway, so I am re-posting comp.lang.pop

Sorry if you get this twice.

terryd@cit.gu.edu.au writes:

> Date: 15 Mar 2000 06:33:57 GMT

> Is there a way to load a pop file straight from Unix?

Put program.p in one of the directories in $popcomppath, which,
by default is set in $popcom/popenv to include

	:$poplib:$poplocalauto:$popautolib:$popliblib

but can be extended in your .login or .profile file, or in
	$poplocal/local/com/poplog

Then

	pop11 program
or
	pop11 program.p

will compile the file.

If it's not in $popcomppath give the full path name.

See REF SYSTEM for more detail.

You can also give a pop11 command starting with a colon between
double quotes, e.g.

	pop11 ":compile('foo.p');foo();"

Or if it takes too long to compile, build a saved image, as is done
for eliza and xved in

	$popcom/mkeliza
	$popcom/mkxved

Aaron
==
-- 
Aaron Sloman, ( http://www.cs.bham.ac.uk/~axs/ )
School of Computer Science, The University of Birmingham, B15 2TT, UK
EMAIL A.Sloman AT cs.bham.ac.uk   (NB: Anti Spam address)
TOOLS: http://www.cs.bham.ac.uk/research/poplog/freepoplog.html