59 posts
Posted 25 March 2016 - 02:05 PM
[…]
Edited on 21 March 2020 - 05:50 PM
2 posts
Posted 16 April 2016 - 05:43 PM
Does not work, attempt to call nil using copy+paste'd example code:
table = {4,6,8,10,12}
charts.tableLines("",3,3,table,0)
41 posts
Posted 16 April 2016 - 07:46 PM
He should not have used 'table' as a variable in the example. Try this;
tTest = { 4, 6, 8, 10, 12 }
charts.tableLines( "", 3, 3, tTest, 0 )
Edited on 16 April 2016 - 05:52 PM
2 posts
Posted 17 April 2016 - 12:44 AM
Nope, table is not a lua keyword, that was not the problem, he declared that function as local. I would have edited that into my post but it was not approved at that point.
2427 posts
Location
UK
Posted 17 April 2016 - 02:20 PM
table is not a lua keyword
true, but it is an api which gets used a lot in the background when you're handling tables
Edited on 17 April 2016 - 12:21 PM
59 posts
Posted 10 June 2016 - 11:10 PM
Now online: ChartsAPI 1.1
Write comments about what should I add in the next version :)/>
Edited on 11 June 2016 - 08:28 AM
24 posts
Posted 11 June 2016 - 11:17 PM
He should not have used 'table' as a variable in the example. Try this;
tTest = { 4, 6, 8, 10, 12 }
charts.tableLines( "", 3, 3, tTest, 0 )
The following keywords are reserved and cannot be used as names: and, break, do, else, elseif, end, false, for, function, if, in, local, nil, not, or, in, local, nil, not,or, repeat, return, then, true, until, while.
59 posts
Posted 14 June 2016 - 01:14 PM
He should not have used 'table' as a variable in the example. Try this;
tTest = { 4, 6, 8, 10, 12 }
charts.tableLines( "", 3, 3, tTest, 0 )
The following keywords are reserved and cannot be used as names: and, break, do, else, elseif, end, false, for, function, if, in, local, nil, not, or, in, local, nil, not,or, repeat, return, then, true, until, while.
I've just modified the post with your suggestion