Is there a way to quote the previous input line?



 May not be the most efficient method, but here's one way to do it:

thi(i):=block([tmp],tmp:concat('%i,linenum-i),ev(tmp,nouns));

This thi() function works the same as th(), but it recalls the input line,
not the output line.


Viktor



-----Original Message-----
From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
Behalf Of zycentre
Sent: Monday, March 14, 2005 3:20 AM
To: maxima@math.utexas.edu
Subject: Is there a way to quote the previous input line?

Dear all,

I know five ways to quote a previous line: %, %%,
%i**, %o**, %th(**). In the five ways, only %i** is
about input line; only %th(**) support variables.
However, how can I quote a previous input line with a
variable, like "ii: 3; %i(ii);"?  Of course, "%i(ii);"
doesn't work.

Best regards,
Zou Yuan-Chuan

_________________________________________________________
Do You Yahoo!?
150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌÃ
http://music.yisou.com/
ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
http://image.yisou.com
1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
g/

_______________________________________________
Maxima mailing list
Maxima@www.math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima