Posted 30 December 2015 - 12:02 PM
Hi all,
I'm trying to create a utility for my OS, and I need a way to store a table, with some functions in said table. However, when I use textutils.unserialise on the file, I can no longer use the functions in that table. Here is an example of an app file for my utility:
So, for example, when the user hits the button with the actin example, then the function example should be run. However, the function example is never run as apparently it it not a function after using textutils.unserialise?
If anyone could help me, I would be very grateful.
Thanks,
- Sam
I'm trying to create a utility for my OS, and I need a way to store a table, with some functions in said table. However, when I use textutils.unserialise on the file, I can no longer use the functions in that table. Here is an example of an app file for my utility:
So, for example, when the user hits the button with the actin example, then the function example should be run. However, the function example is never run as apparently it it not a function after using textutils.unserialise?
If anyone could help me, I would be very grateful.
Thanks,
- Sam
Edited on 30 December 2015 - 08:46 PM