My Math Forum  

Go Back   My Math Forum > Math Forums > Math Software

Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software


Reply
 
LinkBack Thread Tools Display Modes
September 8th, 2011, 01:32 PM   #1
Newbie
 
Joined: Mar 2011

Posts: 23
Thanks: 0

Mathematica: export text file with increasing integer

I need to export some data from Mathematica to a text file. The data is formated in paragraphs (text strings and numbers), like this (I know how to do it) :

Code:
bla bla 123 bla bla bla

bla bla 235 bla bla bla

bla bla 531 bla bla bla

...
However, I need Mathematica to add an increasing integer in each paragraph like this :

Code:
1 bla bla 123 bla bla bla

2 bla bla 235 bla bla bla

3 bla bla 531 bla bla bla

...
Looks trivial, but I really dont know how to do this

I need some help, please...
Cham is offline  
 
Reply

  My Math Forum > Math Forums > Math Software

Tags
export, file, increasing, integer, mathematica, text



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
export equation from plot kotshe Algebra 4 August 30th, 2013 01:56 PM
Creating exe file from Mathematica notebook de_wight Math Software 1 May 17th, 2012 09:50 AM
Mathematica: Applying rules to random integer generation thesixmax Math Software 12 January 14th, 2012 07:00 PM
Mathematica : always increasing function ? Cham Math Software 0 September 11th, 2011 04:34 AM
Mathematica : random function which gives single integer? Cham Math Software 6 September 9th, 2011 07:31 PM





Copyright © 2019 My Math Forum. All rights reserved.