[Ohrrpgce] SVN: teeemcee/9677 Remove all redundant byval's from allmodex. Also always capitalise Frame

James Paige Bob at hamsterrepublic.com
Tue Nov 7 07:44:02 PST 2017


Are integers byval by default?

Maybe I am thinking of -lang deprecated where they were byref by default

On Tue, Nov 7, 2017 at 7:38 AM, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2017-11-07 07:38:16 -0800 (Tue, 07 Nov 2017)
> 739
> Remove all redundant byval's from allmodex. Also always capitalise Frame
> and Palette16
>
> Which of the following is more readable?
>   DECLARE SUB drawmap OVERLOAD (tmap as TileMap, byval x as integer, byval
> y as integer, byval tilesetsprite as Frame ptr, byval p as integer, byval
> trans as bool = NO, byval overheadmode as integer = 0, byval pmapptr as
> TileMap ptr = NULL, byval ystart as integer = 0, byval yheight as integer =
> -1, byval largetileset as bool = NO)
> or
>   DECLARE SUB drawmap OVERLOAD (tmap as TileMap, x as integer, y as
> integer, tilesetsprite as Frame ptr, p as integer, trans as bool = NO,
> overheadmode as integer = 0, pmapptr as TileMap ptr = NULL, ystart as
> integer = 0, yheight as integer = -1, largetileset as bool = NO)
> ---
> U   wip/allmodex.bas
> U   wip/allmodex.bi
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20171107/94661f5f/attachment.html>


More information about the Ohrrpgce mailing list