Raised This Month: $ Target: $400
 0% 

Number to String


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 01-05-2008 , 11:30   Re: Number to String
Reply With Quote #3

If you do this:
Quote:
Originally Posted by arkshine View Post
Declaration:
PHP Code:
    new number[5];
    new 
my_new_string[32]; 
Fill array with random values:
PHP Code:
    for( new i5i++ )
        
number[i] = random_num1); 
then number[] will be an array of numbers. Every cell is like separate variable, so using number[0], number[1], number[2], number[3], number[4] will work exactly like number1, number2, number3, number4, number5.
__________________
Impossible is Nothing
Sylwester 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 11:09.


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