View Single Post
Old 06-10-2017, 09:35 PM   #3
Airal
Banned
 
Join Date: Nov 2015
Posts: 406
Default

Yeah. I define everything before hand. The table exists. It's as if lua is not including the library that contains the table(sort of like your gui library, where every once in a while an error occurs that GUI is not defined... but of course it is)

It's not on my end because the code works fine about 95% of the time and if I just run the script consecutively, sometimes it fails with the main table not being defined... but of course it is.


my scripts go like

test.lua

require "library"

library.lua
lib = {}

but sometimes reaper complains and says lib is not defined.
Airal is offline   Reply With Quote