TFPVersion class
Represents a Free Pascal version number
Declaration
TFPVersion = class(TPersistent)Inheritance
- TFPVersion
- TPersistent
- TObject
Description
Class that encapsulates a Free Pascal version number with major, minor, micro, and build components. Provides methods for version comparison, parsing from strings, and formatting to strings.
Properties
AsString | public | Version number as formatted string |
Empty | public | Whether the version number is empty |
Major | published | Major version number |
Minor | published | Minor version number |
Micro | published | Micro version number |
Build | published | Build version number |
Methods
Clear | public | Clear the version number to empty state |
Assign | public | Assign version from another source |
CompareVersion | public | Compare this version with another version |
SameVersion | public | Check if versions are identical |
Inherited
From TPersistent (8)
AssignTo DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (41)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance Create DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
