Script Name: TrailMyx's Filesystem for OEUO
Author: TrailMyx
Version: v5
Shard OSI / FS: sure, why not?
Revision Date: 9/10/2010
Purpose: Collection of routines to simulate the namespace functions found in
the original EasyUO
Functions:
New(o) - creates a new namespace object. You will only need one.
OEUO example: myns = TM_NS:New() -- create TM_NS object
EUO example: none
RegisterVar(nstype_in, nsname_in,kind_in, var_in) - registers a user specified variable with the filesystem
nstype_in - "local", "global" or "lua". "local" & "global" are used for interfacing with existing EUO namespaces as well
as the TM_namespace manager for Lua. "lua" is used for lua-specific variables.
Load(filename_in) - loads a specified saved file name.
Save(filename_out) - saves a specified set of registered variables to a file.
Special Thanks:
Beta testers:
Bug testers:
=================================================================
So after a burst of energy on the CLAw for OEUO, I decided I needed to take a few days to work on a good file saving mechanism for OEUO. If you've used either of my advanced file system or the unpublished TM_NGFS, you'll know there exists a way to save and recall things easily in EUO.
I started to port my advanced file system directly to OEUO, but I thought it would be nice to have a couple features of the NGFS (like registration). But after working on that a bit, I decided to move it more toward something more generally useful for Lua.
So the new file system will have the best of the worlds of both my file systems, will be able to save/recall information to and from my namespace subroutines (for maximum compatibility) and will allow you to remember data types of the data stored. Also, you will be able to remember shallow tables to help the saving process.