Treating layouts like functions (regarding variables).

New releases and general discussions.

Post » Thu Jan 22, 2009 8:52 pm

As to what the title means:

A layout could take two variables as arguments (of any type) and act on them, possibly passing a variable back (as any type) back to whatever had called the layout in the first place.

This could also be applied to layers(?) - may possibly be even more useful there?
B
2
S
2
G
3
Posts: 158
Reputation: 1,566

Post » Thu Jan 22, 2009 10:58 pm

See the Function Object.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 8 guests