06-26-2025, 05:23 PM
(This post was last modified: 06-26-2025, 05:59 PM by sm4llprogrammer2008.)
Let's go!!!!
Anyways this actually worked!
sub greet(name)
textwindow.writeline("Good morning, "+name+"!")
endsub
greet("sm4llprogrammer2008")
Another program cleverly worked:
sub greet(name)
textwindow.writeline("Good morning, "+name+"!");
endsub
greet("sm4llprogrammer2008");
sub repeat(times)
for i=1 to times
textwindow.writeline("Hello, I repeated "+i+" times!");
endfor
endsub
repeat(10)
Maybe improve conditional branching, adding stuff like if [x] = [y] then ... elseif [x] = [y] then ... endif
Anyways this actually worked!
sub greet(name)
textwindow.writeline("Good morning, "+name+"!")
endsub
greet("sm4llprogrammer2008")
Another program cleverly worked:
sub greet(name)
textwindow.writeline("Good morning, "+name+"!");
endsub
greet("sm4llprogrammer2008");
sub repeat(times)
for i=1 to times
textwindow.writeline("Hello, I repeated "+i+" times!");
endfor
endsub
repeat(10)
Maybe improve conditional branching, adding stuff like if [x] = [y] then ... elseif [x] = [y] then ... endif