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
#2
I agree :-)
And think it could be implemented. I'm currently busy in other business (not dead!), so please be patient.
BTW Merry Christmas to you ALL :!: :wink:
Reply
#3
merry christmas !!
Reply
#4
Merry Xmas for you too, and check out the Gallery Wink.
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)