[Newbies] set variables before initialize and write out files before exit

Joseph Alotta joseph.alotta at gmail.com
Fri Jun 10 16:23:28 UTC 2016


Greetings,

My object needs to have some variables set before it can run the initialize method and also it needs to have run an exit method.

f := FileParser new.
f inPath: '/Users/jja/Desktop/accountingfiles/'.
f readThis: 'rei mastercard.csv'.
f process
f outPath: '/Users/jja/Desktop/accountingfiles processed/'.
f write.   


Is there a better way to do this?

Sincerely,

Joe.




More information about the Beginners mailing list