Re: output forms
- To: mathgroup at smc.vnet.net
- Subject: [mg121527] Re: output forms
- From: "Harvey P. Dale" <hpd1 at nyu.edu>
- Date: Sun, 18 Sep 2011 04:13:17 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201109171026.GAA26018@smc.vnet.net>
For the function, use "set delayed" rather than "set" and include the variables. For example, d[x_,y_,z_]:=x+y+z. Then = d[1,2,3] will give you 6, or -- if you have assigned ("set") a, b, and c to 1, 2, and 3 -- d[a,b,c] will also give you 6. Best, Harvey -----Original Message----- From: klkj fukyfl [mailto:kitas11 at yahoo.com] Sent: Saturday, September 17, 2011 6:26 AM To: mathgroup at smc.vnet.net Subject: [mg121527] output forms Hello, I need Matheamtica to do the following: in: a=1; b=2; c=3; d=a+b*c out: d=1+2*3 and so on... previously I was using another system, but I found that this kind of stuff is impossible Can this be performed on Mathematica?
- References:
- output forms
- From: klkj fukyfl <kitas11@yahoo.com>
- output forms