Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to create a new Form

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58761] Re: [mg58755] How to create a new Form
  • From: yehuda ben-shimol <bsyehuda at gmail.com>
  • Date: Sun, 17 Jul 2005 13:03:08 -0400 (EDT)
  • References: <200507170704.DAA02672@smc.vnet.net>
  • Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Nilton,
I suggest that you try to dig a liitle bit into the combinatorica
package. The did a good job of hiding details (effecting printing) but
everything else works very good.
yehuda

On 7/17/05, Nilton <nilton.volpato at ig.com.br> wrote:
> I would like to create a new Form that is a "wrapper" (like Short,
> CForm, ...), which affects printing, but not evaluation. For example:
> 
> In[1]:= 10 + f[5] // BinaryForm
> 
> Out[1]//BinaryForm =
>         1010 + f[101]
> 
> In[2]:= %
> Out[2]= 10 + f[5]
> 
> I know there is BaseForm, but this is just an example. In fact I would
> like to do something more complicated, but must know how to do
> something like this first.
> 
> Can anyone help?
> 
> Thanks,
> -- Nilton
> 
>


  • Prev by Date: Re: How to create a new Form
  • Next by Date: Re: Improper use of slot
  • Previous by thread: How to create a new Form
  • Next by thread: Re: How to create a new Form