Notifications
Clear all
[Closed] two functions for a button ??
Page 2 / 2
Prev
Sep 21, 2008 10:56 am
A struct is a container of variables, function etc and is very powerful because the variables inside the stuct get there scope automatically.
struct _test
(
fn testA = ( print 10);
fn testB = (print 20);
)
test = _test()
on testButton pressed do
(
test.testA()
)
on testButton rightClick do
(
test.testB()
)
Page 2 / 2
Prev