⇤ ← Revision 1 as of 2008-02-26 13:40:12
Size: 501
Comment:
|
Size: 527
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Line 16: | Line 15: |
This programm will result in this form: | This program will result in this form: attachment:helloworld.jpg |
HelloWorld;ref;btn;myFnt ⍝ Build up a GUI and display "Hello world" in a button on a Form ref←⎕NEW'Form'(⊂'Caption' 'Hello World with APL') ref.Coord←'Pixel' myFnt←⎕NEW'Font'(('Pname' 'Arial Black')('Size' 48)) btn←ref.⎕NEW'Button'(('Caption' 'Hello World')('Posn'(0 0))('Size'ref.Size)) btn.FontObj←myFnt btn.onSelect←1 ⎕DQ'.'
This is inline ⎕LX←'HelloWorld' APL
This program will result in this form:
attachment:helloworld.jpg