|
Sampler example
|
Previous Top Next |
| The "Sampler" procedure shows a regular Window with several fields with "amount" data.
|
| When DigitChanger is deactivated, the Window look like this:
|
|
| Here you have a sample of every combination of numeric masks we could think of.
|
| The first column show the "design time" maks used.
|
| The last column is run-time generated and show the "run-time" mask in effect.
|
|
|
| If you activate the Increase Integer (or fill the variable) with a value of 4, this is how the window will look:
|
|
| Note that "Amount 07" is not changed because it's not a decimal (amount) type field.
|
|
|
| If you Truncate decimals, the window will change to this:
|
|
| Note that the decimals are no longer there.
|
|
|
| Instead of truncation you may choose to increase the decimal part, for example in Increase Decimals you may enter a value of 1 and your window will change to this:
|
|
| And you may also want to decrease the integer part as well as the decimal one, so if you enter a Condition with a value of -3 combined with an Increase Decimals value of 3, you will end with:
|
|
| Note here that n Clarion's pictures the "decimal" part is included in the "integer" part, so when you decrease the integer part is less room for the decimal one. If the decimal part, given the current mask, won't fit in the mask, you may end up with and invalid mask. When Clarion find an invalid mask it is automatically replaced by @S20. You can see this happen here in Amounts 05 and 09.
|
|
|
|
|
|
|
|
|