|
[Date Index]
[Thread Index]
[Author Index]
Function & Format
- To: mathgroup at smc.vnet.net
- Subject: [mg5075] Function & Format
- From: F Renard <renard at limeil.cea.fr>
- Date: Fri, 25 Oct 1996 22:48:23 -0400
- Sender: owner-wri-mathgroup at wolfram.com
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 at limeil.cea.fr
Prev by Date:
Mathematica Programming for Combinatorial Problems
Next by Date:
Calculus Wiz
Previous by thread:
Re: Mathematica Programming for Combinatorial Problems
Next by thread:
Re: Function & Format
|