DbgS function
Gets a string with the value(s) for the specified type. Used to format debugger messages.
Declaration
function DbgS(O: TMaskOpCodes): string; overloadArguments
O | TMaskOpCodes instance with the values returned in the string result. |
Function result
String representing the value(s) in the specified type.
Description
DbgS is a overloaded String function used to get a formatted message which can be displayed in the debugger. Values from the type passed as an argument are converted to their string representation and used in the return value for the routine. In the masks.pas unit, TMaskOpCodes and TWindowsQuirks types are allowed as parameter values. Both types result in a String with the set notation needed to represent enumeration values in the argument. For example:
- TMaskOpCode
- '[mocAnyChar,mocAnyText,mocRange,mocSet]'
- TWindowsQuirks
- '[wqAnyExtension,wqFilenameEnd,wqAllByExtension,wqNoExtension]'
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
