Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Function Overloading
#1
It would be nice if overloading was supported - functions and subroutines of the same name with different parameters.

For example:

change(ubyte ink, ubyte paper) could change the attributes for the whole screen to a specific ink/paper value without clearing it.
change() sets them to the current permanent colours...
change (ubyte ink, ubyte paper, ubyte start_row, ubyte end_row) could change just part of the screen...

And so on and so forth.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)