*************************** FRUM.txt (text) *************************** #Name: FRUM(pathedPkg,moduleName) #by: D@CC #on: 2024CMar20 #Purpose: unpack or load text file into a list # & store in a block of code within IXf #Complete: tested by D@CC #Note: pkgName must be pathed or current folder #marker= "#::::::::::textpak=>" #parm0: pkg (pathed) #parm1: module to be fetched (unpacked or loaded). #parm2: name2 to store the finished code module. #returns: list containing the module code #usedBy: IXf #uses: isModuleInCurrentFolder() # FRUM_extract() # FRUM_n() # FRUM_test() test via __name__ # unpackToList() This function will be called by IXf. The function code can be readily tested by running the code as if it were a program. This is facilitated by __name__ == "__main__". This bloates the size of the module but is the new method that I will use to test functions. The test program asks for the three parameters but accepts "f" for fPkg_py.py etc. FRUM also accepts a package name as parm0 but then requests the name of the module to unpack from ../ix/pPkg_py.py. A copy of this function should be placed in the fPkg_py.py pkg. Via the test program, the user can enter "f","n-all","" to view the modules in package "f". ************************************************** /FRUM.txt