Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
custom:atcodes [2019/09/20 01:47] – Added FILESIZE, FILEBYTES, FILEKB, FILEMB, and FILEGB digital man | custom:atcodes [2020/04/20 01:23] – [External Content] Add STR @-code digital man | ||
---|---|---|---|
Line 20: | Line 20: | ||
==== Format Modifiers ==== | ==== Format Modifiers ==== | ||
- | Most @-codes support an optional format modifier. Modifiers are appended to the end of the @-code variable name and before the terminating '' | + | Most @-codes support an optional format modifier. Modifiers are appended to the end of the @-code variable name and before the terminating '' |
+ | |||
+ | When using the hyphen ('' | ||
+ | |||
+ | When using the pipe ('' | ||
^ Modifier ^ Purpose ^ | ^ Modifier ^ Purpose ^ | ||
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
- | | '' | + | | '' |
+ | | '' | ||
=== Width Specificity === | === Width Specificity === | ||
Line 34: | Line 39: | ||
A string //width//, specified as a positive decimal number, may immediately follow a format modifier. | A string //width//, specified as a positive decimal number, may immediately follow a format modifier. | ||
- | Example: '' | + | Example: '' |
Another method of specifying the width of an expanded @-code is to include non-numeric non-space characters between the modifier and the trailing '' | Another method of specifying the width of an expanded @-code is to include non-numeric non-space characters between the modifier and the trailing '' | ||
- | Example: '' | + | Example: '' |
=== Truncation === | === Truncation === | ||
Line 44: | Line 49: | ||
When a //width// is specified, expanded @-code strings which are **longer** than the specified width will be truncated (shortened) to adhere to the requested width. The left-most characters are preserved/ | When a //width// is specified, expanded @-code strings which are **longer** than the specified width will be truncated (shortened) to adhere to the requested width. The left-most characters are preserved/ | ||
- | By default, //most// expanded @-codes that would reach the last column of the terminal screen are truncated (shortened) so as to not cause an automatic line-wrap of the user's terminal. If you wish for an expanded @-code to be displayed in the last terminal column, or beyond ( possibly causing an automatic line-wrap of the terminal) use the '' | + | By default, //most// expanded @-codes that would reach the last column of the terminal screen are truncated (shortened) so as to not cause an automatic line-wrap of the user's terminal. If you wish for an expanded @-code to be displayed in the last terminal column, or beyond ( possibly causing an automatic line-wrap of the terminal) use the ''>'' |
=== Exceptions === | === Exceptions === | ||
- | @-codes that take an argument value, preceded by a colon ('':'' | + | @-codes that take an argument value, preceded by a colon ('':'' |
===== System Information ===== | ===== System Information ===== | ||
Line 377: | Line 382: | ||
|EXEC: | |EXEC: | ||
|EXEC_XTRN: | |EXEC_XTRN: | ||
- | |SETSTR: | + | |SETSTR: |
+ | |STR |Display the current Baja/PCMS command string value | | ||
===== See Also ===== | ===== See Also ===== |