Raised This Month: $ Target: $400
 0% 

Vector/array


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lagbeast
Junior Member
Join Date: Jul 2007
Old 07-05-2007 , 15:36   Re: Vector/array
Reply With Quote #9

Quote:
Originally Posted by Rolnaaba View Post
Um, I am not sure if I exactly understand you but here is an array of strings:
Code:
new StringArray[3][] = {     "String 1, Slot 0",     "String 2, Slot 1",     "String 3, Slot 2, finsihing out the array slots..." }; //close with a brace and optionaly semicolon.
I think you understood me! Thats what i wanted. So i guess this is how u would do it?

PHP Code:
new StrName[255] = "TEST"
new StringArray[10][]

StringArray[1][] = "poop"
StringArray[2][] = StrName 
is that possible or how do u do it if that doesnt work?
lagbeast 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 21:28.


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