Raised This Month: $ Target: $400
 0% 

How to format 2D Array?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
000
Member
Join Date: Jul 2022
Old 08-04-2022 , 06:43   How to format 2D Array?
Reply With Quote #1

Hi, I'd like to know how to format a 2D array.

I tried:

PHP Code:
char 2DArray[3][6], 2DArray2[3][6], sValue[24], Formatted[24];

ExplodeString(sValue","2DArray36);
ExplodeString(sValue","2DArray236);

FormatEx(Formattedsizeof(Formatted), "%s %s"2DArray[0], 2DArray2[2]); 
Error:
error: 032: array index out of bounds (variable "2DArray")
error: 032: array index out of bounds (variable "2DArray2")

Best regards.

Last edited by DarkDeviL; 06-15-2023 at 12:51. Reason: Restore to previous version.
000 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:24.


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