| Author |
Comment/Response |
SpinoWeb
|
04/27/02 3:09pm
I want this OutPut:
text1.dat
text2.dat
text3.dat
But my script is incorrect :(
This is my .nb file whit errors:
(*~~~~~~~~~~~~~~~~~~~~~~~~~~~*)
Off[General::"spell"];
Off[General::"spell1"];
For[r = 1, r <= 3, {
file = "text" <> r <> ".dat"
Print[file]
}, r++];
StringJoin::"string": "String expected at position \!\(2\) in \!\(\"Ug\" <> 2 \
<> \".dat\"\)."
file
StringJoin::"string": "String expected at position \!\(2\) in \!\(\"Ug\" <> 3 \
<> \".dat\"\)."
Null "Ug" <> 2 <> ".dat"
StringJoin::"string": "String expected at position \!\(2\) in \!\(\"Ug\" <> 4 \
<> \".dat\"\)."
General::"stop": "Further output of \!\(StringJoin :: \"string\"\) will be \
suppressed during this calculation."
Null "Ug" <> 3 <> ".dat"
(*~~~~~~~~~~~~~~~~~~~~~~~~~~~*)
URL: , |
|