Skip to content

Subroutines with local variablesΒ #54

Open
@SteveB69

Description

@SteveB69

Hi,

would it be possible to create some kind of local variables for subroutines?

In order to write new games for the Atari I would first create some generic routines, which should not depend on global variables and, most important, not accidently change the value of global variables. Just think of the magic "i" variable used for every other loop.

Therefore it would also be helpful to have the valued returned to the caller when a parameter is changed in the subroutine, i.e. call by value/result or call be reference.

Thank you
Steve

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions