News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
concatenate nil
Author Message
asafp
Member
***


Posts: 81
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #1
concatenate nil

Most of you know that lua throws a conniption when you try to concatenate a nil value. Often, it's not a big deal to check for a nil value first. But I've got bitten in the rear end more than once with a script that will run for a long time and then puke and die over this.

Is there a fairly seamless way to just do nothing when concatenating a nil value like most other languages do?

07-07-2008 11:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
concatenate nil - asafp - 07-07-2008 11:01 PM
RE: concatenate nil - asafp - 07-08-2008, 10:43 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: