can I use variables in function SendSMS? gsm-shield-arduino

please, I'm learning how to use this (Google Code Archive - Long-term storage for Google Code Project Hosting.) wonderful library and also the arduino. can help me?

I would send an sms but the number and message as a variable so that I can form sentences with if and else and send to multiple numbers in a for

how to use the function gsm.SendSMS (999999999, "text");??

eg number = 999999999 text = test

gsm.SendSMS (number, text);

thank you very much

Sérgio

The library has this method:

    char SendSMS(char *number_str, char *message_str);

So:
char number[] = "1234554321";
char msg[] = "Tell someone who cares";

gsm.sendSMS(number, msg);

Or, use a fixed size array for the message, and sprintf() to populate it with variable data.

@sergiotux, please do not cross-post.