12-02-2011, 03:02 PM
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.
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.