This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
CoLDarkness's profile picture

Hiding the source a lil?

Started by CoLDarkness, 21 January 2014 - 06:39 AM
CoLDarkness #1
Posted 21 January 2014 - 07:39 AM
http://pastebin.com/BHmEFa4a

this is the code I have current,

it works for simple things but does not with the program I want to do it with.

So what could cause it? it says the 9th line is saying function expected got nil.
CometWolf #2
Posted 21 January 2014 - 07:53 AM
What's the content of the file/function it dosen't work on? Also, isn't there a loadfile function you could use instead of your own loadf?
Edited on 21 January 2014 - 08:17 AM
CoLDarkness #3
Posted 21 January 2014 - 07:59 AM
What's the content of the file/function it dosen't work on? Also, isn't there a dofile function you could use instead of your own loadf?

There is.

I use it and PC shuts down.



EDIT: I found my stupidly mistake, localizing a local table's items such as table['y']

/solved
Edited on 21 January 2014 - 07:02 AM