Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / [DBP][Matrix1util] call function for object group help

Author
Message
Kezzla
15
Years of Service
User Offline
Joined: 21st Aug 2008
Location: Where beer does flow and men chunder
Posted: 24th Feb 2013 05:56
Hi all, i have been trying to use the call function for object group function from matrix1 utils and keep getting an error, my function requires an input variable and i cant figure out how to get the command to use one.

here is an example outlining what i mean



how to i make the command insert the groupobject number into my function?
cheers
kezzla

I'm not a complete idiot -- Some parts are just missing.
Chris Tate
DBPro Master
15
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 24th Feb 2013 10:52
It can only accept pointers or function names:

Call Function For Object Group rot, "Rotate"

To get a pointer use; ptr = Get PTR To Function("rotate").

So far I have not seen any significant performance hit using function names; although storing a pointer would save RAM if you store many of them.

Login to post a reply

Server time is: 2024-04-24 17:05:06
Your offset time is: 2024-04-24 17:05:06