The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 !)


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

Date Subject Author
Read Function & Format
F Renard
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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.