TextEdit
Contents

1.Description

Entry of text via a visualisation page (see sample project). A text (Input 1) can be edited as desired. A single character can be attached (Input 2) and the last character (Input 3) or the whole text (Input 4) can be deleted.
Note
Input 2: Invalid ASCII codes are ignored by the module.

2.Inputs

No.NameInitialisationDescription
1E1 Text""
Text (Text) - Text to be edited.
2E2 ASCII0
ASCII (numeric) - ASCII code of the character that should be attached to the text. The module ChrToASCII (17783) can be used for determining ASCII codes.
3E3 BS0
Backspace (numeric) - A value > 0 deletes (if present) the last character in the current text.
4E4 Clear0
Clear (numeric) - A value > 0 deletes the entire text.
5E5 Cancel0
Cancel (numeric) - A value > 0 undoes all the entries regarding the text that were made beforehand. The module is blocked until a new text (Input 1) is present.
6E6 OK0
OK (numeric) - For a value > 0, the edited text is output at Output 2. The module is blocked until a new text (Input 1) is present.
7E7 Shift key0
Shift key (numeric) - As long as a value <> 0 is present, all lower case letters entered through Input 2 are converted into upper case.

3.Outputs

No.NameInitialisationSBCDescription
1A1 Display""s
Display (text) - Always the currently edited text.
2A2 Result""s
Result (text) - This output sends the text of the display if OK (Input 6) <> 0.
3A3 Done0s
Done (numeric) - Displays with the value 1 that an OK (Input 5) or a cancellation (Input 6) was triggered. The module does not react now to any entries until a new text (Input 1) is present.
s = send, sbc = send by change

4.Other

Recalculation during start:No
Module is retentive:No
Internal designation:17777
Category:Text functions

5.Similar functions

Ring memory (text)
Ring memory (text) with time stamp
Text in lines
Text in lines (strict)
Truncate text (soft)
Truncate text (hard)
Separate text
Text length
Text trigger
Compile texts
Compare texts
Text selector
Inverse selector
NumbersEdit
Add leading zeros
Text comparator (8x)