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
358
S
214
G
72
Posts: 22,946
Reputation: 178,333


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 2 guests