![]() |
Function Overloading - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Wishlist (https://www.boriel.com/forum/forumdisplay.php?fid=14) +---- Thread: Function Overloading (/showthread.php?tid=411) |
Function Overloading - britlion - 12-02-2011 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. Re: Function Overloading - boriel - 12-22-2011 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: Re: Function Overloading - slenkar - 12-22-2011 merry christmas !! Re: Function Overloading - LCD - 12-24-2011 Merry Xmas for you too, and check out the Gallery ![]() |