Subject: mailing-list for TeXmacs Users
List archive
From : "Adrian S." <address@hidden>- To: address@hidden
- Subject: [TeXmacs] Macros with default values.
- Date: Wed, 1 Dec 2010 22:24:04 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=SAEwwWtvQK8f0lIJqyxzgKydBd46WxhzabEoVEKrYWxhUlY5Skzu0s9enOsndYkBO2 unkLJrpqiT+tpBXchrOY23+zqz/EyuIW1XpuDkZ3GNe96uYD6DAO06rchLvIeCX2yi76 w0p0FnzQUHpZVuY0o5r7gLQXR3BaVhqPbTAtI=
I wanted to write a macro with default values something like, in python,
def f(x=1,y=2):
return x+y
I saw the following example in the manual, but I have not managed to
make it work.
<assign|hey|<macro|first|second|<style-with|src-compact|none|<if|<equal|<arg|second>|<uninit>>|Hey
<arg|first>, you look lonely today...|Hey <arg|first> and <arg|second>, you
form a nice couple!>>>>>
Is this a bug?
Thanks for you help!
Peace.
-Adrian
- [TeXmacs] Macros with default values., Adrian S., 12/02/2010
- [TeXmacs] Re: Macros with default values., Adrian S., 12/04/2010
- Re: [TeXmacs] Re: Macros with default values., Sam Liddicott, 12/04/2010
- [TeXmacs] Re: Macros with default values., Adrian S., 12/04/2010
Archive powered by MHonArc 2.6.19.