Edited by Checco2212, 21 March 2020 - 06:50 PM.
1
7 replies to this topic
#1
Posted 25 March 2016 - 02:05 PM
[...]
#2
Posted 16 April 2016 - 04: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)
#3
Posted 16 April 2016 - 06: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 by moTechPlz, 16 April 2016 - 06:52 PM.
#4
Posted 16 April 2016 - 11:44 PM
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.
#6
Posted 10 June 2016 - 10:10 PM
Now online: ChartsAPI 1.1
Write comments about what should I add in the next version
Write comments about what should I add in the next version
Edited by Checco2212, 11 June 2016 - 09:28 AM.
#7
Posted 11 June 2016 - 10:17 PM
moTechPlz, on 16 April 2016 - 06:46 PM, said:
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.
#8
Posted 14 June 2016 - 12:14 PM
unnamedcoder, on 11 June 2016 - 10:17 PM, said:
moTechPlz, on 16 April 2016 - 06:46 PM, said:
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
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users