263 posts
  • Antarctica
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Sold between 100 and 1 000 dollars
x360c says

Ok… I need to imitate this C++ code here:

void blahblah (int&Num)
{
}

I need to make a reference to an existing function through a function… Any help?

8122 posts Community Moderator
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 6-7 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX Volunteer moderator says
Ok… I need to imitate this C++ code here:
void blahblah (int&Num)
{
}
I need to make a reference to an existing function through a function… Any help?

confused…

function one():void
{
...
}

function two():void
{
function1();
}

thats how you call a function but im sure you already know this right? How do you mean reference a function..? Surely you want to call it, not reference it…? what is it your trying to do :)

263 posts
  • Antarctica
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Sold between 100 and 1 000 dollars
x360c says

I found an alternate method… nvr mind :P

8122 posts Community Moderator
  • Attended a Community Meetup
  • Community Moderator
  • Has been a member for 6-7 years
  • United Kingdom
  • Contributed a Tutorial to a Tuts+ Site
  • Won a Competition
  • Contributed a Blog Post
  • Beta Tester
  • Bought between 50 and 99 items
+4 more
MSFX Volunteer moderator says
I found an alternate method… nvr mind :P

lol, care to share :D

by
by
by
by
by
by