home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 June
/
PCWorld_1999-06_cd.bin
/
software
/
Vyzkuste
/
Webtri
/
INSTALL
/
mgxfma.z
/
IMPSI2.FLT
/
PSIRC
/
STARTUP
< prev
next >
Wrap
Text File
|
1997-07-25
|
1KB
|
65 lines
%
% Environment dependant variables
%
/@sys_path (system.ps) def
%
% Initialize the PostScript machinery
%
(Loading PSI...) print
@sys_path run
(Done\n) print
/printpath { /_str 16 string def
{(Move: )print exch _str cvs print( )print _str cvs print(\n)print}
{(Draw: )print exch _str cvs print( )print _str cvs print(\n)print}
{(Curv: )print 6 -2 roll exch _str cvs print( )print _str cvs print
( )print 4 -2 roll exch _str cvs print( )print _str cvs print
( )print exch _str cvs print( )print _str cvs print(\n)print}
{(Done:\n)print} pathforall } @bd
%
% Enter the normal flow
%
/@inp (%stdin) (r) file def
/@pmt { /@buf 256 string def
{ prompt @inp @buf readline pop cvx exec } loop
} def
/@execut false def
/executive { /@execut true def stop
} @bd
start
@args length 1 eq
{
{ @inp cvx stopped @execut { clear exit } if
{ /@execut false def errordict /handleerror get exec } if
} loop
}
{
1 1 @args length 1 sub
{ @args exch get run } for
} ifelse
@execut { @pmt } if
%@args length 1 eq
%{
% { @inp cvx stopped @execut { clear exit } if
% { /@execut false def errordict /handleerror get exec } if
% } loop
%}
%{
% 1 1 @args length 1 sub
% { @args exch get {run} stopped
% { errordict /handleerror get exec exit } if
% } for
%} ifelse
%@execut { @pmt } if