Examples in Gambas (#5) by @vdelacruzjardon
This commit is contained in:
committed by
Aditya Bhargava
parent
e2a4153e80
commit
0aec97dbf2
BIN
03_recursion/gambas/02_greet/.gambas/GREET
Normal file
BIN
03_recursion/gambas/02_greet/.gambas/GREET
Normal file
Binary file not shown.
7
03_recursion/gambas/02_greet/.project
Normal file
7
03_recursion/gambas/02_greet/.project
Normal file
@@ -0,0 +1,7 @@
|
||||
# Gambas Project File 3.0
|
||||
# Compiled with Gambas 3.5.4
|
||||
Title=02_greet
|
||||
Startup=greet
|
||||
Version=0.0.1
|
||||
TabSize=2
|
||||
Packager=1
|
||||
17
03_recursion/gambas/02_greet/.src/greet.module
Normal file
17
03_recursion/gambas/02_greet/.src/greet.module
Normal file
@@ -0,0 +1,17 @@
|
||||
' Gambas module file
|
||||
|
||||
Function greet2(name As String)
|
||||
Print "how are you, "; name; "?"
|
||||
End
|
||||
Function bye()
|
||||
Print "ok bye!"
|
||||
End
|
||||
Function greet(name As String)
|
||||
Print "hello, "; name; "!"
|
||||
greet2(name)
|
||||
Print "getting ready to say bye..."
|
||||
bye()
|
||||
End
|
||||
Public Sub Main()
|
||||
greet("adit")
|
||||
End
|
||||
7
03_recursion/gambas/02_greet/.startup
Normal file
7
03_recursion/gambas/02_greet/.startup
Normal file
@@ -0,0 +1,7 @@
|
||||
greet
|
||||
02_greet
|
||||
0
|
||||
0
|
||||
0.0.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user