SD Core Solo for Windows WS2.0-0

Lower case

Commands, file names, record ids and the account's name are lower case now — and nothing you type has to change.

Everything that can be lower case is lower case, completely — no name exists in two casings. BASIC source is free-form and usually written lower case; file names, field names and the account's name are lower case as well.

What you type does not change. LIST, list and List all run the same verb, and so does every keyword — with, by, no.page and the rest.

The lookup rule#

SD tries a name as you typed it, then in lower case, then in upper case.

as typed  →  lower  →  upper

A name that matches exactly still wins, so nothing that works today changes. A name that exists in no case is still reported as not found.

This order is used everywhere: the parser, the query processor, run, the login paragraph lookup, and set.file's default qfile pointer.

What is spelled in lower case, and that is the whole of it#

Commands in the VOC list, count, select, create.file, setptr … and that is how they appear in list voc and ct voc
BASIC source and include records the gpl.bp programs and the syscom includes — all of them
System files on disk accounts, bp, bp.out, gpl.bp, gpl.bp.out, messages, newvoc, pcode.out, syscom, voc_template and the rest under sdsys
The bp VOC entry bp
The hold file $hold
The saved select list file $savedlists
The command stack record $command.stack
The account sduser, on disk in user_accounts\sduser and in sdsys\accounts
Files in the account created with lower-case names on disk

Renaming these is cosmetic for resolution — NTFS matches without being asked — but the stored path text is user-visible through list voc with type = "F" and the current-directory reporting, which is the point.

Record ids in directory files are no longer case sensitive#

Two changes that go together:

Every file create.file makes treats record ids as case insensitive (there is no no.case or case word to give it): SD writes records preserving the casing given by whatever performs the write, and reads locate records regardless of casing.

An upgrade converts the files you already had to case-insensitive record ids, and leaves what it cannot convert safely: a file with two ids that differ only by case, an indexed file, and a file under SDSYS that your VOC names (SDSYS's own files are made new by the install). Solo has one user who owns every file, so a file your VOC names outside the account is converted too. The installer runs this step (upgrade_nocase) after the compile, and writes everything it did to nocase-upgrade.log in the Solo folder, naming each file it left. When it left any, the install report in install-summary.log says WARNING and names that log; convert each such file yourself with configure.file and no.case, after resolving the two ids that differ only by case. A step that does not finish is reported as a failure, not a warning. The mechanics are in Upgrading and uninstalling.

An upgrade also brings your VOC up to the release. update.accounts adds the records the release ships and takes out those on SD's deletion list (list.voc.removed shows them).

One lookup order everywhere#

list and ct find a name the same way. list voc $hold finds the record ct voc $hold shows. list, sort, select and the rest of the query language use the same as-typed → lower → upper order as everything else.

The account name#

The account is sduser, and the name is never case sensitive: SDUSER, sduser and SdUser all mean it. It is sduser on every computer, however your Windows user name is spelled or cased.

delete.file's refusal to delete voc and $acc no longer depends on the case you type. It could not be got round before, because those names were upper case — it could have been, once they are not.