Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ Check if a variable is of boolean type'
Check if a variable is of boolean type'
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ogomez92
(42 posts) Bio
|
Date
| Thu 30 Jun 2011 03:03 PM (UTC) |
Message
| Hi,
I'm trying to see if a variable is of boolean type. I have a configuration script which uses only boolean and integer variables, so I thought I'd use only one table and then see if the variable is boolean or numeric, instead of having one table for each datatype.
So is there a way to see if a variable is boolean, or numeric, so if it's not one type then it's the other type?
Thanks. :) | Top |
|
Posted by
| Fiendish
USA (2,535 posts) Bio
Global Moderator |
Date
| Reply #1 on Thu 30 Jun 2011 04:17 PM (UTC) |
Message
| |
Posted by
| Ogomez92
(42 posts) Bio
|
Date
| Reply #2 on Thu 30 Jun 2011 04:59 PM (UTC) |
Message
| Thanks a bunch, *smile* | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
18,249 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top