PacMan Posted March 8, 2010 Posted March 8, 2010 Tell me, please, what are the brackets in these examples, the syntax of XML or core MTA? Where this can be read?
50p Posted March 8, 2010 Posted March 8, 2010 I suppose square brackets indicate numbers, so when you use get() function, it'll return number without need to convert it to a number. Double brackets are tables. No brackets = strings.
Jumba' Posted March 9, 2010 Posted March 9, 2010 I've also noticed that "[true]" and "[false]" return booleans, while "true" and "false" are simple strings.
eAi Posted March 10, 2010 Posted March 10, 2010 It's JSON - see http://www.json.org So [[6,1]] is an array containing 6 and 1.
PacMan Posted March 13, 2010 Author Posted March 13, 2010 It's JSON - see http://www.json.orgSo [[6,1]] is an array containing 6 and 1. Now it is clear, thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now