User Tools

Site Tools


Sidebar

Welcome to DIDO WIKI

dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start

3.6 Constants

ALGORITHM

Return to Top

The name of the default algorithm used for encryption.

DEFINE CONSTANT DEFAULT_ALGORITHM AS “SHA-256”;

BASE_FORMAT

Return to Top

The name of the default binary formats (i.e., width in bits) for hash and crypto keys.

BINARY_FORMAT ::= "Base64";

BINARY_FORMAT

Return to Top A string that can be used to designate a binary format.

BINARY_FORMAT ::= "Binary";

DATE_FORMAT_STRING

Return to Top

The default string for formatting dates.

  • YYYY - Four digit year (i.e., 2021)
  • MM - Two digits representing for the month (i.e, 1→January, 12→December)
  • DD - Two digits representing the day within the month (i.e., the first of january 2021 would be 2021-01-01)
  • HH - Two digits representing the 24 hour day (i.e., 1 is 1 AM, 13 represents 1 PM).
  • MM - Two digits representing the minute within the hour.
  • SS - Two digits representing the second within the minute.
DATE_FORMAT_STRING ::= "YYYY-MM-DD HH:MM:SS";

FALSE

Return to Top The numeric constant representing the Boolean False.

FALSE ::= 0;

HEX_FORMAT

Return to Top A string that can be used to designate a hexadecimal format.

HEX_FORMAT ::= "Hex";

MAXIMUM_NAME_LENGTH

Return to Top The maximum length in characters of an object name.

MAXIMUM_NAME_LENGTH ::= 30;

NULL

Return to Top

NULL ::= NULL;

TRUE

Return to Top The numeric constant representing the Boolean TRUE.

TRUE ::= 1;

VOID

Return to Top

VOID ::= {};

WHITESPACE

Return to Top The list of characters that represent a whitespace character.

  • ' ' - A blank character
  • '\t' - A tab character
  • '\r' - A carriage return character
  • '\n' - A newline character
  • '\f' - A form feed character
WHITESPACE ::= [ \t\r\n\f];
dido/public/s_cli/05_contents/01_prt/03_langconst/06_constants/start.txt · Last modified: 2021/08/05 12:52 by murphy
Translations of this page: