Raised This Month: $ Target: $400
 0% 

static variable - question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-04-2012 , 13:26   Re: static variable - question
Reply With Quote #3

This is easily tested . . .

Also, to initialize all cells of an array to a single value, you must do this:

PHP Code:
new var[200] = {value, ...} 
The method you use only sets the first cell.
__________________

Last edited by fysiks; 07-04-2012 at 13:27.
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode