NumbersEdit
Contents

1.Description

Creating a numeric keypad. A text (Input 1) can be edited as desired. A single number, comma, or item can be attached (Input 2) and the last character (Input 3) or the whole text (Input 4) can be deleted. The module only accepts characters that have a valid number as result.
Note
Input 2: Invalid ASCII codes are ignored by the module.

2.Inputs

No.NameInitialisationDescription
1E1 Text""
Text (text) - Number to be edited.
2E2 ASCII0
ASCII (numeric) - ASCII code of the character that should be attached to the number. The module ChrToASCII (17783) can be used for determining ASCII codes.
3E3 BS0
Backspace (numeric) - A random value deletes (if present) the last character in the current number.
4E4 Clear0
Clear (numeric) - A random number resets the number to 0.
5E5 Cancel0
Cancel (numeric) - A value > 0 undoes all the entries regarding the number that were made beforehand. The module does not react now to any entries until a new number (Input 1) is present.
6E6 OK0
OK (numeric) - For a value > 0, the edited number is output at Output 2 and 4. The module does not react now to any entries until a new number (Input 1) is present.
7E7 Change of sign0
Change sign (numeric) - The sign is changed when any desired value arrives (from + to – and from – to +).

3.Outputs

No.NameInitialisationSBCDescription
1A1 Display""s
Display (text) - Always the currently edited number.
2A2 Result""s
Result (text) - When confirmed with OK (Input 6), the currently edited number.
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 number (Input 1) is present.
4A4 Result (float)0s
Result (float) (numeric) - The result as a numeric value
s = send, sbc = send by change

4.Other

Recalculation during start:No
Module is retentive:No
Internal designation:17782
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
TextEdit
Add leading zeros
Text comparator (8x)