Added types
This commit is contained in:
@ -5,7 +5,7 @@ main() {
|
||||
fizzbuzz(15)
|
||||
}
|
||||
|
||||
fizzbuzz(n) {
|
||||
fizzbuzz(n Int) {
|
||||
x := 1
|
||||
|
||||
loop {
|
||||
@ -26,6 +26,6 @@ fizzbuzz(n) {
|
||||
}
|
||||
}
|
||||
|
||||
print(address, length) {
|
||||
print(address Pointer, length Int) {
|
||||
sys.write(1, address, length)
|
||||
}
|
Reference in New Issue
Block a user