function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
miteshsuramiteshsura 

pass variable by reference

this sounds really stupid.. can someone help me with passing var by reference to a method in apex. 

 

I have a pagecontroller class that has a method in it. The method is called multiple times, I want a pass a variable by reference so that it gets updated in that method .

 

thanks in advance.