x404.co.uk
http://www.x404.co.uk/forum/

Passing a Class into a function
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=17625
Page 1 of 1

Author:  Fogmeister [ Mon Nov 12, 2012 9:43 am ]
Post subject:  Passing a Class into a function

Can anyone help me with this Stack Overflow question?

http://stackoverflow.com/questions/1334 ... a-function

Author:  jonbwfc [ Mon Nov 12, 2012 10:17 am ]
Post subject:  Re: Passing a Class into a function

I think they might have a scoping issue for one thing. If you instantiate a class inside a procedure will it exist once the procedure returns?

Author:  Fogmeister [ Mon Nov 12, 2012 10:25 am ]
Post subject:  Re: Passing a Class into a function

Ah, didn't need a reference to it outside the function as it just gets added to a queue and then I forget about it :D

Solved now though, thanks :D

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/