Sign in Join
FPDoc Onlineexperiment

LazUtilities unit

Contains miscellaneous utility routines and variables used in the Lazarus IDE and LCL.

lazutilities.pas is part of the LazUtils package.

Procedures and functions

CompareBooleanfunctionCompares the specified Boolean values.
CompareCaretfunctionGets the relative order for the specified caret positions based on the X and Y positions.
ComparePointersfunctionGets the relative order for the specified Pointers.
ComparePointsfunctionGets the relative order for the specified points based on their X and Y members.
CreateFirstIdentifierfunctionGets the name for the first identifier represented by the value specified in Identifier.
CreateNextIdentifierfunctionGets the name for the next identifier following the value specified in Identifier.
FreeThenNilprocedureEnsures that the specified object instance is freed and set to Nil.
GetEnumValueDeffunctionGets the ordinal position for an enumeration value with the specified name.
GetSkipCheckByKeyfunctionGets and executes the function assigned to an implementation variable using the specified argument.
MergeSortprocedureImplements a merge/sort for TStrings or TFPList.
MergeSortWithLenprocedureImplements a merge/sort algorithm for a list of pointers with the given length.
RoundToCardinalfunctionRounds the specified Extended value to a Cardinal value.
RoundToIntfunctionRounds the specified Extended value to an Integer value.
SetSkipCheckByKeyProcprocedureSets the value for an implementation variable to the specified function.
StrToDoublefunctionConverts the specified string value to a Double type.
TruncToCardinalfunctionTruncates the extended value and returns a Cardinal type.
TruncToIntfunctionTruncates the extended value and returns an Integer type.

Types

TGetSkipCheckByKeyprocedure typeSpecifies a Boolean function type used to implement the GetSkipCheckByKey and SetSkipCheckByKeyProc routines.
TStringsSortCompareprocedure typeSpecifies a comparison function type for string values in a TStrings instance.

Variables

ConsoleVerbosityvariableLevel of detail displayed in IDE console output windows.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.