====== 3.6 Constants ====== [[dido:public:s_cli:05_contents:01_prt:02_basics:start| Return to DIDO CLI Background]] ===== ALGORITHM ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] The name of the default algorithm used for [[dido:public:ra:xapend:xapend.a_glossary:e:encryption|encryption]]. DEFINE CONSTANT DEFAULT_ALGORITHM AS “SHA-256”; ===== BASE_FORMAT ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| 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 ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] A string that can be used to designate a binary format. BINARY_FORMAT ::= "Binary"; ===== DATE_FORMAT_STRING ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| 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 ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] The numeric constant representing the Boolean False. FALSE ::= 0; ===== HEX_FORMAT ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] A string that can be used to designate a hexadecimal format. HEX_FORMAT ::= "Hex"; ===== MAXIMUM_NAME_LENGTH ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] The maximum length in characters of an object name. MAXIMUM_NAME_LENGTH ::= 30; ===== NULL ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] NULL ::= NULL; ===== TRUE ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] The numeric constant representing the Boolean TRUE. TRUE ::= 1; ===== VOID ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| Return to Top]] VOID ::= {}; ===== WHITESPACE ===== [[dido:public:s_cli:05_contents:01_prt:03_langconst:06_constants:start| 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]; /**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- /* To add a discussion page to this page, comment out the line that says ~~DISCUSSION:off~~ */ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~