PacMan Posted March 8, 2010 Share 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? Link to comment
50p Posted March 8, 2010 Share 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. Link to comment
Jumba' Posted March 9, 2010 Share Posted March 9, 2010 I've also noticed that "[true]" and "[false]" return booleans, while "true" and "false" are simple strings. Link to comment
eAi Posted March 10, 2010 Share Posted March 10, 2010 It's JSON - see http://www.json.org So [[6,1]] is an array containing 6 and 1. Link to comment
PacMan Posted March 13, 2010 Author Share 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. Link to comment
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