Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Function & Format
Replies: 1   Last Post: Oct 30, 1996 12:23 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
F Renard

Posts: 10
Registered: 12/7/04
Function & Format
Posted: Oct 25, 1996 10:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Can anyone tell me how to construct a function that doesn't PRINT
the real result, but any string instead (like "-Graphics-")
(If it is possible !)

Example:

In[1]:= fun[x_]:= x^2

In[2]:= fun[3]

Out[2]= -FUN-

In[3]:= %+1

Out[3]= 10

I don't know if the function Format is useful for that...

Thanks in advance !

--
Francois RENARD
CEA Limeil-Valenton
94195 Villeneuve St Georges cedex
renard@limeil.cea.fr






Date Subject Author
10/25/96
Read Function & Format
F Renard
10/30/96
Read Re: Function & Format
David B. Wagner

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.