Timeline for How to use Write[stream, expression] without automatic addition of next line character
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 6, 2021 at 19:48 | vote | accept | singularity | ||
Jun 24, 2016 at 1:23 | history | tweeted | twitter.com/StackMma/status/746151813582290947 | ||
Jun 24, 2016 at 0:58 | comment | added | singularity | George, thank you very much. Your "ToString" technique worked perfectly !....This is all I needed. | |
Jun 24, 2016 at 0:45 | history | edited | singularity | CC BY-SA 3.0 |
t cannot be supplied manually
|
Jun 24, 2016 at 0:04 | answer | added | WReach | timeline score: 5 | |
Jun 23, 2016 at 22:23 | comment | added | george2079 |
that said, its cleaner i think to build up the whole thing and use Export , eg code = {"A[" <> ToString[0] <> "]=0;", "A[" <> ToString[1] <> "]=1;"}; Export["file.c", code, "Lines"];
|
|
Jun 23, 2016 at 22:16 | comment | added | george2079 |
WriteString[str,Tostring[0]] is one way
|
|
Jun 23, 2016 at 22:09 | history | asked | singularity | CC BY-SA 3.0 |