Artifact f3b3178e888aaee78747dfaa44b99dd98848921b168d1d61584662d16c8fd36e:
- File
psl-1983/3-1/comp/wdeclare.red
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 928) [annotate] [blame] [check-ins using] [more...]
- File
psl-1983/comp/wdeclare.red
— part of check-in
[eb17ceb7f6]
at
2020-04-21 19:40:01
on branch master
— Add Reduce 3.0 to the historical section of the archive, and some more
files relating to version sof PSL from the early 1980s. Thanks are due to
Paul McJones and Nelson Beebe for these, as well as to all the original
authors.git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/historical@5328 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 928) [annotate] [blame] [check-ins using]
% % WDECLARE.RED - Skeleton WDeclare for WConsts % % Author: Eric Benson % Symbolic Computation Group % Computer Science Dept. % University of Utah % Date: 9 March 1982 % Copyright (c) 1982 University of Utah % % <PSL.COMP>WDECLARE.RED.2, 17-Nov-82 17:09:39, Edit by PERDUE % Flagged WDeclare IGNORE rather than EVAL, so it takes effect % at compile time rather than load time! fexpr procedure WDeclare U; for each X in cddr U do WDeclare1(car X, car U, cadr U, cadr X, caddr X); flag('(WDeclare), 'IGNORE); lisp procedure WDeclare1(Name, Scope, Typ, UpperBound, Initializer); if Typ = 'WCONST then if Scope = 'EXTERNAL and not get(Name, 'WCONST) then ErrorPrintF("*** A value has not been defined for WConst %r", Name) else% EvDefConst(Name, Initializer) put(Name, 'WConst, Initializer) else StdError BldMsg("%r is not currently supported", Typ);