Category:KeyList Databasing: Difference between revisions

m (You don't actually need the language name here anymore (we changed it a while ago but some pages still have it))
Line 18:
10011, email, G0, "E-mail address"</lang>
We will review this code one line at a time:
#Database programs in KeyList Databasing begin with the word "database" followed by the internal database name. Database records created with a KeyList program get exported into .cdb databases when the .klt program runs in KeyList. The user can re-export it into a .csv file if they want to, which can be re-imported into the .klt program's application system, and into the .cdb. If your file is called "phonebook.klt", the .cdb will be called (according to the source code) "phone book.cdb" because the command said "database Phone Book", two words. A database name has to begin with a capital letter.
#The next line, a usually two-digit number, uniquely identifies it from the other database programs in the machine. For example, "24" is not recommended for KeySoft 6.2 on the BrailleNote mPower, because the built in "address list" application (obviously written in KeyList Databasing) is database #24.
This is where we start numbering lines.
This is where we start numbering lines. #Line 1, which is "10001", will display the word "Last Name" (with a box to fill in the field) to the user. name, autocap, means that it's telling the computer that it is a name, and that the first letter is automatically capitalized, for name convenience. Same with "First Name" and "Middle Name", each with a unique line number.
#The next three lines, which ask the user for a home, mobile and work phone number respectively, say "phone, autonum". Most BrailleNotes have the user type in Braille. In Braille, 1 through 9 are just the dot combinations for A through I, with a number sign combination before it. The autonum command tells the BrailleNote that when a letter is typed in, it automatically becomes a number (A is 1, J is 0, I is 9, and everything in between). The phone part of phone, autonum, just tells the computer that it's a phone number.
#The next line has the "address" command in it. This just allows use of normal Braille text, but should only be used for addresses.
#City and Country both use autocap, but State uses allcaps. This implies that they want an abbreviation (CA for California, or MI for Michigan, etc.). Allcaps is a kind of field that pretty much keeps the caps-lock on no matter what you do.
#Email address field uses the G0 command, which is used by the BrailleNote to tell the user that ASCII computer Braille, not plain Braille (like in the other fields), is used. The email, g0 syntax tells the BrailleNote to prompt the user if it is an invalid email-address. If you type something in an email, G0, field without an at '''@''' sign, it will ask the user if it is okay that it doesn't have an at sign. Regular G0, as in:
<lang keylist>
10001, G0, "Product Key Code"</lang>
Line 30 ⟶ 31:
<lang keylist>10002, password, G0, "Email Password"</lang>
As you may have guessed, password, G0, replaces the typed letters with asterisks (for security). The password is stored in the .cdb (or .csv) file unsecured, but when the .klt is running, (or the .csv gets installed back into the .klt), it's secured.
 
==Miscellaneous commands==
There are other commands in KeyList Databasing you just might want to know about:
Anonymous user