--- Begin Message ---Yuriy Babah wrote > in Playground i'm doing: * > #(2 3) doWithIndex: [:each :i | xm at: i put: each]. > #(3 4) doWithIndex: [:each :i | ym at: i put: each]. * > > whot i'm doing wrong?So, you're putting 2 at index 2 of xm, and then writing 3 past end of array, and in ym you're putting 3 and 4 at offsets past the end of array? It's a wonder your image didn't crash, rather than return interpolation of the uninitialized values... Cheers, Henry -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
--- End Message ---
Re: [Pharo-users] question about FFI
Henrik Sperre Johansen via Pharo-users Mon, 26 Nov 2018 02:18:02 -0800
- [Pharo-users] question about FFI Yuriy Babah
- Re: [Pharo-users] question abo... teso...@gmail.com
- Re: [Pharo-users] question... Yuriy Babah
- Re: [Pharo-users] ques... Yuriy Babah
- Re: [Pharo-users] question abo... Henrik Sperre Johansen via Pharo-users
- Re: [Pharo-users] question... Esteban Lorenzano
- Re: [Pharo-users] question abo... Henrik Sperre Johansen via Pharo-users
- Re: [Pharo-users] question abo... Esteban Lorenzano
- Re: [Pharo-users] question... Yuriy Babah