GOOC - Game Oriented Object C

GOOC - Game Oriented Object C

Previous: Inline Subroutines, Up: Subroutines
[Contents]

9.6. Subroutine Modifiers

9.6. Subroutine Modifiers

Subroutine modifiers may be used to give a subroutine some specific or extra behavior which may otherwise be very unintuitive to accomplish. These are divided into two types: pre-subroutine modifiers and normal subroutine modifiers. Pre-subroutine modifiers are placed before the parameters list, while subroutine modifiers are placed after. This has to do with the sequential parsing that is done.

Pre-Subroutine Modifiers

Pre-Subroutine Modifiers

There is only one pre-subroutine modifier.

Subroutine Modifiers

Subroutine Modifiers

There are two subroutine modifiers.