[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
ToME: the Tales of Maj'Eyal :: View topic - How do I convert "nil" to "0"?
ToME: the Tales of Maj'Eyal
http://forums.te4.org/

How do I convert "nil" to "0"?
http://forums.te4.org/viewtopic.php?f=45&t=45720
Page 1 of 1

Author:  sajberhippien [ Sat Feb 20, 2016 6:56 pm ]
Post subject:  How do I convert "nil" to "0"?


Author:  darkgod [ Sat Feb 20, 2016 7:29 pm ]
Post subject:  Re: How do I convert "nil" to "0"?

"or 0" is indeed correct.

getInfra thoguh you're not actually calling it; you do "t.getInfra + 4" instead of "t.getInfra(self, t) + 4"

Author:  sajberhippien [ Sat Feb 20, 2016 8:41 pm ]
Post subject:  Re: How do I convert "nil" to "0"?

d'oh! Thank you.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/