Post Reply 
Plus42 Equations, Preview Release
12-28-2021, 02:32 AM
Post: #168
RE: Plus42 Equations, Preview Release
New update: Directories.

New commands: MKDIR, RMDIR, CHDIR, UPDIR, ROOTDIR, PATH.
For the sake of RPL muscle memory, these aliases are also available: CRDIR for MKDIR, PGDIR for RMDIR, and HOME for ROOTDIR.

These commands are in the DIR section in the fourth row of the CATALOG menu. Or, well, except for PATH, which I just noticed I forgot to add to the catalog. But the function is available and it does work. (With the 2-line screen, PATH may not be the most useful function, since all you'll see is { N-Item List }, but PRX is your friend.)

For interactive directory navigation, use CATALOG → DIRS, which is in the first row of the CATALOG menu, where FCN used to be. (FCN was moved to the second row.) Note that the directory listings are under CATALOG → DIRS, while the directory functions are under CATALOG → DIR.

This is still very new, so use at your own risk. Back up your state files!

Note that programs and variables from ancestor directories are accessible, but read-only. You won't see them in the catalog, but XEQ and RCL will find them. But attempting to edit a program that isn't in the current directory will result in a Restricted Operation message, and attempting to modify a variable that isn't in the current directory will result in a Variable Not Writable message. Specifically, Variable Not Writable will happen with STO+, STO-, STO×, STO÷, X<>, ISG, DSE, and HEAD, and when trying to STO to a numbered register when REGS is in an ancestor direcory. If you RCL a variable that is found in an ancestor directory and then try to STO it under the same name, a new copy will be stored in the current directory; STO always writes to the current directory, never to an ancestor.

More features are coming, including the ability to change the order of items in the DIRS, PGM, and variable catalogs, the ability to move things between directories, including entire directories, and symbolic links and search paths. And subdirectory support for the built-in HTTP server in the iOS version (does anyone still use the HTTP server?) And maybe other things?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Plus42 Equations, Preview Release - Thomas Okken - 12-28-2021 02:32 AM



User(s) browsing this thread: 2 Guest(s)