Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
3
Task/Hello-world-Graphical/I/hello-world-graphical-1.i
Normal file
3
Task/Hello-world-Graphical/I/hello-world-graphical-1.i
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
gui {
|
||||
Goodbye, World!
|
||||
}
|
||||
6
Task/Hello-world-Graphical/I/hello-world-graphical-2.i
Normal file
6
Task/Hello-world-Graphical/I/hello-world-graphical-2.i
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
link graphics
|
||||
procedure main()
|
||||
WOpen("size=100,20") | stop("No window")
|
||||
WWrites("Goodbye, World!")
|
||||
WDone()
|
||||
end
|
||||
21
Task/Hello-world-Graphical/I/hello-world-graphical-3.i
Normal file
21
Task/Hello-world-Graphical/I/hello-world-graphical-3.i
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import gui
|
||||
$include "guih.icn"
|
||||
|
||||
class WindowApp : Dialog ()
|
||||
|
||||
# -- automatically called when the dialog is created
|
||||
method component_setup ()
|
||||
# add 'hello world' label
|
||||
label := Label("label=Hello world","pos=0,0")
|
||||
add (label)
|
||||
|
||||
# make sure we respond to close event
|
||||
connect(self, "dispose", CLOSE_BUTTON_EVENT)
|
||||
end
|
||||
end
|
||||
|
||||
# create and show the window
|
||||
procedure main ()
|
||||
w := WindowApp ()
|
||||
w.show_modal ()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue