CrossRoads:
Nope, that's beyond my programming skills. I'm still working on pointers into a single array.
Maybe just have 1 array and different sets of pointers into it?
some one from the programming forums gave me some advice. i would use string dump and use a pointer array. I made a test sketch and I did it! Here's what i made:
#include <SIM900.h>
#include <sms.h>
#include <SoftwareSerial.h>
char smsdata[160];
char numberRx[20];
int i = 0;
int x = -1;
char *inbox[5];
boolean MSG_RCVD = false;
void setup()
{
 Serial.begin(9600);
 gsm.begin(4800);
}
void loop()
{
 checkSMS();
}
void checkSMS()
{
 if(gsm.readSMS(smsdata, 160, numberRx, 20))
 {
  Serial.print("SMS Recieved: ");
  while (smsdata[i+1] != '\0')
  {
   Serial.print(smsdata[i]);
   i++;
  }
  i = 0;
  x++;
  Serial.println("");
  store();
 }
 else
 {
  Serial.println("No Messages");
 }
}
void store()
{
 int y;
 inbox[x] = strdup(smsdata);
 Serial.print("Inbox 1: ");
 Serial.println(inbox[0]);
 Serial.print("Inbox 2: ");
 Serial.println(inbox[1]);
 Serial.print("Inbox 3: ");
 Serial.println(inbox[2]);
 Serial.print("Inbox 4: ");
 Serial.println(inbox[3]);
 Serial.print("Inbox 5: ");
 Serial.println(inbox[4]);
 Serial.print("Inbox 6: ");
 Serial.println(inbox[5]);
 Serial.println("");
Â
 if (x > 5)
 {
  x = 0;
 }
 MSG_RCVD = false;
}
it stores the text messages in inbox array, and i'll apply this in the LED MATRIX+GSM code. I'll post the code after running some tests.
thanks again!