mirror of
https://github.com/Alvin-Zilverstand/femcode.git
synced 2026-03-06 13:23:39 +01:00
feat: Implement function parameters and return values
This commit is contained in:
12
examples/functions_with_params.fem
Normal file
12
examples/functions_with_params.fem
Normal file
@@ -0,0 +1,12 @@
|
||||
Femboy add_numbers(a, b) Femboycore
|
||||
Femme a + b
|
||||
Periodt
|
||||
|
||||
result is add_numbers(10, 5)
|
||||
UwU Boy result
|
||||
|
||||
Femboy greet(name) Femboycore
|
||||
UwU Boy "Hello, " + name
|
||||
Periodt
|
||||
|
||||
greet("World")
|
||||
Reference in New Issue
Block a user