--- Begin Message ---Oups! Usually, it's way nicer/better/suggested to declare all variables... Forgot "lines" ! . Nicer version: | file lines |lines := OrderedCollection new. file := StandardFileStream readOnlyFileNamed: 'day.1.input'. [file atEnd] whileFalse: [lines add: file nextLine]. file close. ----------------- Benoît St-Jean Yahoo! Messenger: bstjean Twitter: @BenLeChialeux Pinterest: benoitstjean Instagram: Chef_Benito IRC: lamneth Blogue: endormitoire.wordpress.com "A standpoint is an intellectual horizon of radius zero". (A. Einstein) On Sunday, December 2, 2018, 6:09:42 a.m. EST, Roelof Wobben <r.wob...@home.nl> wrote: Op 2-12-2018 om 11:55 schreef Benoit St-Jean via Pharo-users: Nope, only the part how I can read the file. Roelof
--- End Message ---
Re: [Pharo-users] How to take care that the + before a number is ignored
Benoit St-Jean via Pharo-users Sun, 02 Dec 2018 03:22:13 -0800
- Re: [Pharo-users] How to take care tha... Roelof Wobben
- Re: [Pharo-users] How to take care... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How to take care that the... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How to take care tha... Roelof Wobben
- Re: [Pharo-users] How to take care... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How to take ... Roelof Wobben
- Re: [Pharo-users] How to t... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How... Sven Van Caekenberghe
- Re: [Pharo-users]... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How to t... Sven Van Caekenberghe
- Re: [Pharo-users] How to t... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How... Roelof Wobben
- Re: [Pharo-users]... Benoit St-Jean via Pharo-users
- Re: [Pharo-users]... phil--- via Pharo-users
- Re: [Pharo-users]... Roelof Wobben
- Re: [Pharo-users]... Benoit St-Jean via Pharo-users
- Re: [Pharo-users] How to take care that the... Ben Coman