what is the Context means? a parametre in the function

Discussions concerning programming of SOFTIMAGE©
Post Reply
ikfk
Posts: 36
Joined: 28 Jul 2012, 09:58

what is the Context means? a parametre in the function

Post by ikfk » 05 Dec 2013, 16:07

so as this one
function MyCommand_Init( ctxt )
{
var oCmd;
oCmd = ctxt.Source;

// ...
}

theres a 'ctxt' as parametre, what is that means? to pass what into the function?

thank you ~x(

User avatar
xsisupport
Posts: 713
Joined: 09 Jun 2009, 11:02
Location: Montreal Canada
Contact:

Re: what is the Context means? a parametre in the function

Post by xsisupport » 05 Dec 2013, 16:22

If only there was a document where you look up that information.
// Steve Blair
// "You're not a runner, you're just a guy who runs" -- my wife
//
// My Blogs: Arnold | Softimage

ikfk
Posts: 36
Joined: 28 Jul 2012, 09:58

Re: what is the Context means? a parametre in the function

Post by ikfk » 11 Dec 2013, 18:13

thank you ,but ~x(

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests