added some samples
[k8lst.git] / samples / pass.st
blob0d69d7c4534bc2cce39201a733e920a41ce7e33f
2   | d i l s rand |
3   i := 20.
4   d := '0123456789abcdefghijklmnopqrstuvwxyz'.
5   l := d size.
6   s := String new: i.
7   rand := Random new.
8   1 to: i do: [ :x |
9     s at: x put: (d at: (rand between: 1 and: l))
10   ].
11   s printNl.