logic_format
logic_format is a point entity available
with any version of Mapbase.Formats a line of text akin to C# String.Format. As curly brackets cannot be used in the help window, please see Mapbase documentation for clear instructions.
KeyValues
- Input Value (SetInputValue) <string>
The input value. Should contain {0}, {1}, etc, which will be replaced by the parameters and then output as OutFormattedValue.
The input value. Should contain {0}, {1}, etc, which will be replaced by the parameters and then output as OutFormattedValue.
- Parameter 0 (SetParameter0) <string>
Will replace all instances of {0} in the input value.
Will replace all instances of {0} in the input value.
- Parameter 1 (SetParameter1) <string>
Will replace all instances of {1} in the input value.
Will replace all instances of {1} in the input value.
- Parameter 2 (SetParameter2) <string>
Will replace all instances of {2} in the input value.
Will replace all instances of {2} in the input value.
- Parameter 3 (SetParameter3) <string>
Will replace all instances of {3} in the input value.
Will replace all instances of {3} in the input value.
- Parameter 4 (SetParameter4) <string>
Will replace all instances of {4} in the input value.
Will replace all instances of {4} in the input value.
- Parameter 5 (SetParameter5) <string>
Will replace all instances of {5} in the input value.
Will replace all instances of {5} in the input value.
- Parameter 6 (SetParameter6) <string>
Will replace all instances of {6} in the input value.
Will replace all instances of {6} in the input value.
- Parameter 7 (SetParameter7) <string>
Will replace all instances of {7} in the input value.
Will replace all instances of {7} in the input value.
- Backup Parameter (SetBackupParameter) <string>
If an invalid parameter is used (e.g. null parameter or asks for a parameter beyond {7}), then this will be used instead. Otherwise just uses ''.</span>
</div>
### Inputs
If an invalid parameter is used (e.g. null parameter or asks for a parameter beyond {7}), then this will be used instead. Otherwise just uses '
- GetFormattedValue
<void>
Fires OutFormattedValue, which passes the formatted input value.
Fires OutFormattedValue, which passes the formatted input value.
- SetInputValue
<string>
Sets the input value. Should contain {0}, {1}, etc. enclosed by curly brackets, which will be replaced by the parameters and then output as OutFormattedValue.
Sets the input value. Should contain {0}, {1}, etc. enclosed by curly brackets, which will be replaced by the parameters and then output as OutFormattedValue.
- SetParameter0
<string>
Sets the text that will replace all instances of {0}.
Sets the text that will replace all instances of {0}.
- SetParameter1
<string>
Sets the text that will replace all instances of {1}.
Sets the text that will replace all instances of {1}.
- SetParameter2
<string>
Sets the text that will replace all instances of {2}.
Sets the text that will replace all instances of {2}.
- SetParameter3
<string>
Sets the text that will replace all instances of {3}.
Sets the text that will replace all instances of {3}.
- SetParameter4
<string>
Sets the text that will replace all instances of {4}.
Sets the text that will replace all instances of {4}.
- SetParameter5
<string>
Sets the text that will replace all instances of {5}.
Sets the text that will replace all instances of {5}.
- SetParameter6
<string>
Sets the text that will replace all instances of {6}.
Sets the text that will replace all instances of {6}.
- SetParameter7
<string>
Sets the text that will replace all instances of {7}.
Sets the text that will replace all instances of {7}.
- SetBackupParameter
<string>
Sets the text that will replace all invalid parameters.
### Outputs
Sets the text that will replace all invalid parameters.
- OutFormattedValue
<string>
Fired when the formatted value is requested. Outputs the formatted value.
Fired when the formatted value is requested. Outputs the formatted value.
