Post Reply 
Plus42 Equations, Preview Release
01-05-2022, 05:31 PM
Post: #191
RE: Plus42 Equations, Preview Release
New update:

(Re-update, the one a few minutes ago had a nasty bug, program copying didn't work...)

1. Directory, program, and variable management.

In the DIRS catalog, Shift plus a directory item now generates a reference object, pointing to the directory, program, or variable represented by the item. Doing this multiple times causes these references to be collected in a list. You can remove an item from a list by selecting it again. Or you can move between directories, and compile a list of objects across multiple directories.

These reference objects, and lists containing only reference objects, serve only one purpose: they can be fed to the new REFMOVE, REFCOPY, and REFFIND functions.

REFMOVE moves the referenced objects into the current directory. In case of a list, the objects are added in the order in which they appear in the list, and they are added in front of the already existing objects. Note that it is possible to move objects within a directory as well, which can be useful if you want to change the order in which they appear in the catalogs.

REFCOPY works like REFMOVE, except it copies items instead of moving them. However, directories and variables within the current directory are never copied, always just moved. (Programs are copied.)

Finally, REFFIND finds the real object referenced by the reference in X. (This only works when X contains a single reference object, not a list.) It changes to the referenced directory, and moves to the referenced program or VIEWs the referenced variable.

For convenience, the REFMOVE, REFCOPY, and REFFIND commands are mapped to the keyboard when objects of the appropriate types are in the X register; REFMOVE is [−], REFCOPY is [×], and REFFIND is [÷].

2. In RUN mode, when there is a string or a list in the Y register, the [+] key now performs APPEND.
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 - 01-05-2022 05:31 PM



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