Message Boards Message Boards

0
|
121 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Why can't I name a function with more than one letter?

I defined a function $\mathrm{fun}[a \underline{\hspace{0.5em}} \,]:=a^2$, but it showed that "No Wolfram Language translation found". Now I found that I can name a function single letter like $f$, $g$ or a letter followed by a number like $f1$, $g1$. But I saw that some other people could use the function names with more than one letter. I have no idea why this issue exist. I tried to restart Mathematica but it did not work. I am doubting whether that is because of the edition of the Mathematica I use, I got the access through our university.

POSTED BY: Tianyi Zhong

Welcome to Wolfram Community!
Please provide an example in the form of the Wolfram Language code. This will make it easier for other members to help you. Check several methods available to include your code in the rules http://wolfr.am/READ-1ST

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract