[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

DbgS

Gets a string with the value(s) for the specified type. Used to format debugger messages.

Declaration

Source position: masks.pas line 400

function DbgS(

  O: TMaskOpCodes

):string; overload;

function DbgS(

  Q: TWindowsQuirks

):string; overload;

Arguments

O

  

TMaskOpCodes instance with the values returned in the string result.

Function result

String representing the value(s) in the specified type.

Arguments

Q

  

TWindowsQuirks instance with the values returned in the string result.

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

TMaskOpCode

  

Represents operations needed for an entry in a mask specification.

TMaskOpCodes

  

Set type used to store values from the TMaskOpcode enumeration.

TWindowsQuirk

  

Represents types of Windows-specific quirks for file and directory masks.

TWindowsQuirks

  

Set type used to store values from the TWindowsQuirk enumeration.


Version 4.0 Generated 2025-05-03 Home