Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Creating a Rule in Code' topicStudent Support Forum > General > "Creating a Rule in Code"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
jf
11/11/12 6:34pm

In[20]:= ToExpression[ StringJoin["a1","->","b1"] ]
Out[20]= a1->b1

In[21]:= FullForm[%]
Out[21]= Rule[a1,b1]



URL: ,

Subject (listing for 'Creating a Rule in Code')
Author Date Posted
Creating a Rule in Code CCOsborn 11/11/12 09:27am
Re: Creating a Rule in Code jf 11/11/12 6:34pm
Re: Creating a Rule in Code CCOsborn 11/12/12 11:06am
Rule Patrick 11/18/12 08:12am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic