Linked Questions

3 votes
1 answer
164 views

My Get ( << ) doesn't work when path is in variable : why? [duplicate]

Take this code : nomFichier = "C:\\Users\\Me\\Dropbox\\testFile.wdx"; << nomFichier; << "C:\\Users\\Me\\Dropbox\\testFile.wdx"; The first ...
StarBucK's user avatar
  • 2,144
2 votes
1 answer
152 views

Put/Get don't accept a string-valued expression as filename [duplicate]

I'm trying to do the following with an expression: filename=StringJoin[{"myfile", ToString[someNumber],".m"}]; expression >> filename; But mathematica ...
lurscher's user avatar
  • 743
2 votes
0 answers
46 views

Using a variable in Get [duplicate]

This question is different from the answer here Infix form of PutAppend ( >>> ) does not work with variable becasue it is dealing with folders and not filenames. I have a file path which I ...
lara's user avatar
  • 978
0 votes
0 answers
33 views

Shorthand of Get[] [duplicate]

I thought that << expr was just a shorthand form of Get[expr]. I have now found that it clearly isn't. Namely it holds <...
Kvothe's user avatar
  • 4,197
0 votes
0 answers
27 views

Load binary .mx files from list of paths? [duplicate]

I have several .mx files containing data saved to disk via DumpSave. I load a list of these files in my folder as ...
Kagaratsch's user avatar
  • 11.9k
0 votes
0 answers
25 views

`Get` files depending on the string input [duplicate]

Let's suppose I have a code like this: ...
Filburt's user avatar
  • 578
27 votes
2 answers
2k views

Using a list of tuples in a pure function

I want to use a list of tuples within a function to make assignments. Say I want to make assignments of the form value[i,j] = val What I have is a list of ...
gwr's user avatar
  • 13k
24 votes
3 answers
1k views

How can I get the unchanged Box form of an arbitrary expression?

One may observe that MakeBoxes does not give the actual Box form of various expressions: MakeBoxes[{1*^4, 000123, a*b c}] <...
Mr.Wizard's user avatar
  • 270k
2 votes
1 answer
2k views

Writing to file as it goes [duplicate]

I was wondering if there was a way to write data to a file, during a Do loop, without having to wait till the end. I have written a code which scans over many parameters which get plugged into many ...
kingmonkeywoman's user avatar
2 votes
1 answer
416 views

Why is FileNameJoin not working?

I can not figure out why the code below doesn't work? aaa >> FileNameJoin[{Directory[],"input"}] error message came out saying OpenWrite::noopen: ...
matheorem's user avatar
  • 16.9k
6 votes
2 answers
155 views

Strange behaviour of order of execution or bug?

In[1] and In[3] are identical but the output is different.
Chen Stats Yu's user avatar
5 votes
1 answer
127 views

? vs Information - Making UpValues less destructive

I'll first state the main question of this, what follows afterwards are some of my thoughts/attempts at fixing it and additional questions about possible improvements (getting an answer to those would ...
Lukas Lang's user avatar
  • 33.5k
2 votes
1 answer
80 views

How to use MakeExpression in terminal?

This is in continuation to the question in Infix form of PutAppend ( >>> ) does not work with variable. I was trying to use ...
Itay's user avatar
  • 31