Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Adding Strings in LUA

Author
Message
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 3rd Dec 2007 01:29
Okay, this really simple problem is starting to bug me and its slowing me down ALOT...

How do I add strings together in LUA? Just calling "test" + "test" gives me an error (something about trying to use arithmetic operators on strings). Is there a special operator/function I must use?


Vote today and play the games!
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Dec 2007 10:02
Read the manual!

What you want to do is called concatenation.

Utility plugins collection and
http://www.matrix1.demon.co.uk for older plug-ins and example code
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 5th Dec 2007 13:34
..[/b]

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 14th Dec 2007 01:58
Hehe, I was reading through the manual, though that didn't pop out at me - at all...thanks


Vote today and play the games!

Login to post a reply

Server time is: 2024-11-26 10:28:51
Your offset time is: 2024-11-26 10:28:51