Texts

Structural Elements of a Program


 

bm584         text constant

 

The text constant returns the text that has been specified as its descriptive text.

 

bm585         next line

 

The next line element is a text constant returning the line end text (two characters having a numeric value of 13 and 10, i.e. ASCII codes CR and LF).

 

bm586         merge of texts

 

The merge of texts element serves to merge two or more texts into one text. The texts are added gradually in the succession from the top downwards.

 

bm587         text identity

 

The text identity element is used to evaluate the congruency of texts. One or more texts can be entered. The texts are evaluated gradually from the top downwards. The element returns a validity flag in case all the texts are identical. A special case is a comparison of one text only. Here, the text is compared with an empty text, i.e. it is examined, if it is empty.

 

Note: The texts are compared while distinguishing uppercase and lowercase letters. If the texts are to be compared without distinguishing uppercase and lowercase letters, they must first be converted to either uppercase or lowercase letters.

 

bm588         alphabetic comparison of texts

 

The alphabetic comparison of texts element serves to compare alphabetic sequence of texts for the purpose of alphabetic sorting. The comparison does not distinguish between upper case and lower case letters, but it respects the national specific information pursuant to the Windows system setting (i.e. letters with diacritics, or two-letter speech sounds). One or more texts can be entered to be compared. Texts are compared gradually from the top downwards. The element returns a validity flag in case it holds for every neighboring text pairs that the first (upper) text is alphabetically more remote than the other one (not being identical). The functional effect consists in comparing two list texts, and making a text interchange in case the first text lies alphabetically higher. A special case is a comparison of one text only. Here, the text is compared with an empty text, being examined, if it is not empty (contrary to the previous comparison).

 

bm589 left part of text

  bm590 length of left part of text (number of characters)

  bm591 input text

 

bm592 right part of text

  bm593 beginning of right part of text (position 0...)

  bm591 input text

 

bm594 middle part of text

  bm595 beginning of middle part of text (position 0...)

  bm596 length of middle part of text (number of characters)

  bm591 input text

 

bm597         length of text (returns number of characters)

bm598         conversion of number from text to numerical form

bm599         conversion of number from numerical to text form

bm600         convert number to text - 2 decimal digits

bm601         convert number to text - 8 hexadecimal digits

bm602         convert character to numeric code

bm603         convert numeric code to character

bm604         convert to lower case

bm605         convert to upper case

 

bm606 find text position (returns position 0...; -1 = not found)

  bm607 text to be found

  bm591 input text

 

bm608         number of text lines

 

bm609 text line

  bm610 text line number (line number = 0...)

  bm591 input text

 

bm611 text block

  bm612 line of the block beginning (default 0)

  bm613 position of the block beginning (default 0)

  bm614 line of the block end (default -1)

  bm615 position of the block end (default -1)

  bm591 input text

 

The text block element returns a selected part of a multiline text. A multiline text must use pair of the CR (code 13) and LF (code 10) characters to terminate text rows. The block line and position are entered as a number zero or more. The -1 number is used as an end of the text or row.