Hi Guys
I have a simple question I would like to send an SMS that sends values out which is not a problem i can do that but what i need to do is each value must go out on a separate line. e.g
IME: 1234567890
Spk volume: 30%
Mic volume: 4
Message = "IME "
Message = Message + IME + "\n"
Message = Message + "Spk Volume: "
Message = Message + volume + "\n"
Message = Message + "Mic Volume: "
Message = Message + MicVol + "\n"
What I get is
IME:1234567890
Spk Vo
I can't seem to find what I'm doing wrong
Sending SMS
Moderator: Benj
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: Sending SMS
A few possibilities:
1) Message string size needs checking, default 20 will not be enough
2) String concatenation does have problems, if you add more than one item at a time, so do this instead...
Message = "IME "
Message = Message + IME
Message = Message + "\n"
3) If volume is a numeric variable, you need + ToString$(volume)
1) Message string size needs checking, default 20 will not be enough
2) String concatenation does have problems, if you add more than one item at a time, so do this instead...
Message = "IME "
Message = Message + IME
Message = Message + "\n"
3) If volume is a numeric variable, you need + ToString$(volume)
- jollybv
- Flowcode v5 User
- Posts: 374
- Joined: Thu Feb 12, 2009 5:20 am
- Location: Cape Town
- Has thanked: 81 times
- Been thanked: 25 times
- Contact:
Re: Sending SMS
Hi, Guys
Has anyone got any ideas on how I will send an SMS that is longer than 160 characters
Has anyone got any ideas on how I will send an SMS that is longer than 160 characters