expreduce icon indicating copy to clipboard operation
expreduce copied to clipboard

<< form of Get[] doesnt work with paths

Open darvin opened this issue 7 years ago • 0 comments

In[2]:= Get["examples/example.m"]

Solve found no solutions for -2.5 + (-1.)*Private`uPlaceholder^(GCD[1., 2.]^(-1.)) + (Private`uPlaceholder^(GCD[1., 2.]^(-1.)))^2. == 0 for Private`uPlaceholder
Solve found no solutions for -2.5 + (-1.)*x + x^2. == 0 for x
3+2 = ? (thats from Print[]): 5
In[3]:= <<"examples/example.m"

2018/06/03 15:51:40 System`UnParsed: {Rune:57389 Val:<< pos:1} ExpressionCase(4) &wl.Expression{
· Case: ExpressionCase(4),
· FileName: &wl.FileName{
· · Case: 1,
· · Token: STRING, "examples/example.m",
· },
· Token: GET, "<<",
}
exit status 1

Desired behaviour

In[1]:= <<"examples/example.m"                                                  
3+2 = ? (thats from Print[]): 5

In[2]:= <<examples/example.m                                                    
3+2 = ? (thats from Print[]): 5

darvin avatar Jun 03 '18 22:06 darvin