Skip to main content
edited body; edited title
Source Link
Karsten7
  • 27.6k
  • 5
  • 74
  • 135

User-defined usage message template; removing repeated text (v 9.0.1)

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description "myfunc"myfunc is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name "Integrate"Integrate is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

User-defined template; removing repeated text (v 9.0.1)

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description "myfunc" is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name "Integrate" is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

User-defined usage message template; removing repeated text

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description myfunc is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name Integrate is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

edited tags
Link
István Zachar
  • 47.2k
  • 20
  • 145
  • 293
Corrected Mathematica version number
Source Link
QuantumDot
  • 19.8k
  • 7
  • 48
  • 124

User-defined template; removing repeated text (v 9.0.1)

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description "myfunc" is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name "Integrate" is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

User-defined template; removing repeated text (v 9.1)

In Mathematica 9.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description "myfunc" is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name "Integrate" is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

User-defined template; removing repeated text (v 9.0.1)

In Mathematica 9.0.1, I want to write a user-defined template for a function that I wrote: myfunc

Remove[myfunc]
myfunc::usage = "myfunc[x,y,z] is a function.
                 myfunc[x,y,z,w] is another function."

with the result:

User-defined template for myfunc

As you can see, within the description "myfunc" is (in my opinion) unnecessarily repeated. In fact, templates for built-in functions do not behave that way. For example, look at the template for the Integrate function:

Build-int template for Integrate

The function name "Integrate" is not repeated in the description. How do I tell Mathematica not to repeat the name of the function inside the description?

Tweeted twitter.com/#!/StackMma/status/422388755572752384
Source Link
QuantumDot
  • 19.8k
  • 7
  • 48
  • 124
Loading