Upgrade to Pro — share decks privately, control downloads, hide ads and more …

エコSmalltalk

 エコSmalltalk

オレオレツールを作る

newapplesho

December 27, 2011
Tweet

More Decks by newapplesho

Other Decks in Programming

Transcript

  1. Smalltalkͱݴ͑͹ จ๏ ։ൃ؀ڥ array := Array with:-10 with:2 with:100. array

    inject: Float infinity negated into:[:v1 :v2 | v1 max: v2 ]. 2
  2. label :='MyEditor'. window := SystemWindow labelled:label. window setWindowColor: color. textMorph1

    := PluggableTextMorph on: Workspace new text: #contents accept: #acceptContents: readSelection: nil menu: #codePaneMenu:shifted:. textMorph2 := PluggableTextMorph on: Transcript text: #contents accept: #acceptContents: readSelection: nil menu: #codePaneMenu:shifted:. window addMorph: textMorph1 frame: (0@0 corner: [email protected]). window addMorph: textMorph2 frame: ([email protected] corner: 1@1). window openInWorld. 7