Cant quite work out how to enter a string into a text message
My function is:
[lua]function newSMS()
native.showPopup(“sms”, {
body = “Stuff and Things”
})
end[/lua]
The above works fine, but I want to have a variable in the body instead of the pre-defined text.
I’ve tried the below and cant get it working, think I have the syntax wrong.
[lua]function newSMS()
native.showPopup(“sms”, {
body = variable1 … variable2
})
end[/lua]
[lua]function newSMS()
native.showPopup(“sms”, {
body = variable1 + variable2
})
end[/lua] [import]uid: 62706 topic_id: 29942 reply_id: 329942[/import]
