Test file forgotten attachment [Was : Re: smalltalk-mode in non-class files: indent and colo n err out “End of buffer”]

"Garreau\, Alexandre" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Sorry! I forgot to attach the file in which I was writing when finding
out about all this, so here I attach it.

Please don’t answer this message, so not to break the thread: answer the
former, so even the subject line is kept meaningful.

_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
tp6.st (text/smalltalk, 430 B)
"1 - Exercices sur les tableaux"
t := #(3 5 6) copy.
t at:2 put:7. t

t at:2 put: ((t at:2) * 2).
t at:2 put: (t at:2) negated.
t at:3 put: (t at:2).
t at:3 put: ((t at:1) + (t at:3)).

"2 - Barycentre de points"
points := Array new:4.
points at:1 put: 100@100;
       at:2 put: 200@200;
       at:3 put: 100@200;
       at

masses := #(1 2 3 4).
masse := (masses at:1) + (masses at:2) + (masses at:3) + (masses at:4)

"aueiauie"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.