Raised This Month: $ Target: $400
 0% 

dynamic array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hypheni
Senior Member
Join Date: Jul 2011
Location: India
Old 01-19-2013 , 02:05   Re: dynamic array
Reply With Quote #4

oh got it.

PHP Code:
    new myArray  //global
    
myArray ArrayCreate(32)

    while(!
feof(file))
    {
        
fgets(filelinea127)
        
ArrayPushString(Array:myArraylinea)
    } 
The above piece of code means dynamic sized array created with each cell limits of 32 chars. Using ArrayPushString we can grow its size as per requirement.
hypheni is offline
Send a message via Skype™ to hypheni
 



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 13:26.


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