I have a function called loadData in a file Functions
function loadData(x,y)
print(x)
print(y)
end
I call this function from a different file
Functions:loadData(30,50)
When I check the data values in the console, the x value is a table, and the y value is the x value (30 in this case). To fix this, I have to make the header
function loadData(none,x,y), where I none is just a placeholder for the table.
I’ve just been using this workaround for a while, but now it has caught up to me and I’m experiencing more errors. What am I doing wrong? [import]uid: 14678 topic_id: 6498 reply_id: 306498[/import]