The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Pointers (parameter references)
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#1
Pointers (parameter references)

... Anyone know if we can use them? I read in the AngelScript manual that it supports C++ style Pointers in scripts but only if the application specifically allows it. Came across this as I was using a function to modify an array passed to the function thinking it would implicitly be passed by reference, which it doesn't seem to be (as the array in the calling function was not modified once the function had run), but before I explore possible other solutions it'd be great to know if it could simply be set as a pointer
11-19-2012, 06:57 PM
Find


Messages In This Thread
Pointers (parameter references) - by Adrianis - 11-19-2012, 06:57 PM
RE: Pointers (parameter references) - by Adrianis - 11-19-2012, 09:31 PM



Users browsing this thread: 1 Guest(s)