Mintoris Forum

Author Topic: Nestd Functions  (Read 1229 times)


  • Sr. Member
  • ****
  • Posts: 195
Nestd Functions
« on: Oct 12, 2017, 04:38 PM »
I think it would be really cool if functions had the ability to be nested. It would help prevent duplicate variable naming and would make it easier for people in the Mintoris community to package their code into libraries.
Example Syntax:

rem calling the function outside foo
sub foo()
rem calling the function inside foo

sub bar()
print "The power of nested functions‼"
end sub

end sub

This would work similarly to classes and methods in Java.