TMT Pascal Programmer's Reference
Table of Contents
1. What's New in TMT Pascal?
2. TMT Pascal Language Description
2.1. Implementation Issues
2.1.1. Memory Organization
2.1.2. Calling Conventions
2.1.3. Limitations
2.2. Pascal Language Structure
2.2.1. Tokens and Identifiers
2.2.2. Reserved Words
2.2.3. Operators and Delimiters
2.2.4. Program Comments
2.2.5. Constants
2.2.5.1. Integer and Real Number Constants
2.2.5.2. String Constants
2.2.5.3. Constant Declarations
2.2.6. TYpes
2.2.6.1. Boolean Types
2.2.6.2. Character Types
2.2.6.3. Integer Types
2.2.6.4. Enumeration Types
2.2.6.5. Subrange Types
2.2.6.6. Real Types
2.2.6.7. Pointer Types
2.2.6.8. Pointer Dereference
2.2.6.9. Array Types
2.2.6.10. String Types
2.2.6.11. Variant Types
2.2.6.12. Set Types
2.2.6.13. Record Types
2.2.6.14. File Types
2.2.6.14.1. Sample Program for TFileRec Structure
2.2.6.15. Procedure Types
2.2.6.16. Object Types
2.2.6.17. Structured Types Alignment (packed modifier)
2.2.6.18. Type Compatibility
2.2.7. Declarations
2.2.7.1. Type Declarations
2.2.7.2. Label Declarations
2.2.7.3. Constant Declarations
2.2.7.4. Variable Declarations
2.2.7.5. Local Block Declarations
2.2.8. Expressions
2.2.8.1. Arithmetic Operators
2.2.8.2. Boolean Operators
2.2.8.3. Set Operators
2.2.8.4. Relational Operators
2.2.8.5. Typecasts
2.2.8.6. Operator Precedence
2.2.9. Statements
2.2.9.1. Assigments
2.2.9.2. Compound Statement
2.2.9.3. Case Statement
2.2.9.4. For Statement
2.2.9.5. Goto Statement
2.2.9.6. If Statement
2.2.9.7. InLine Statement
2.2.9.8. Mem, MemW, MemL, and MemD Statements
2.2.9.9. Port, PortW, and PortD Statements
2.2.9.10. Repeat Statement
2.2.9.11. While Statement
2.2.9.12. With Statement
2.2.10. Programs and Units
2.2.10.1. Units
2.2.10.2. Programs
2.2.11. Dynamic-Link Libraries (DLL's)
2.2.11.1. About DLL's
2.2.11.2. Using DLL's
2.2.11.3. Writing DLL's
2.2.11.4. Global variables in DLL's
2.2.11.5. Import Units
2.2.12. Procedures and Functions
2.2.12.1. Declaration
2.2.12.2. Forward Declaration
2.2.12.3. External Declaration
2.2.12.4. Interrupt Procedure
2.2.12.5. Procedural Value
2.2.12.6. Using Statement as Procedure
2.2.13. OOP Extensions
2.2.13.1. Object
2.2.13.2. Inheritance
2.2.13.3. Object Syntax
2.2.13.4. Restrictions On Object Description
2.2.13.5. OOP Scopes
2.2.13.6. Public and Private declarations
2.2.13.7. Virtual Methods
2.2.13.8. Constructors
2.2.13.9. Fail procedure
2.2.13.10. Using New Procedure (OOP)
2.2.13.11. Desctructors
2.2.13.12. Inherited reserved word
2.2.13.13. Self argument
2.2.13.14. Interface Type
2.2.14. Open Arrays
2.2.15. User Defined Operators
2.2.16. User Defined Reader Procedure
2.2.17. User Defined Writer Procedure
2.3. Built-in Assembler
2.3.1. Asm Statement
2.3.2. Assembler Procedure
2.3.3. Code Procedure
2.3.4. Command Syntax
2.3.5. Labels
2.3.6. Prefixes
2.3.7. Opcodes
2.3.8. Registers
2.3.9. Opcode Mnemonics
2.3.10. Operand Expressions
2.3.11. Operands
2.3.12. Operators
2.3.13. Differences between 16- and 32-bit code
2.4. Run-time error codes
3. Compiler Directives
3.1. Conditional Directives
3.2. Switch and Parameter Directives
3.2.1. $A: Data Align Switch
3.2.2. $AC: Ada-Style Comments Switch
3.2.3. $AMD: AMD 3DNow! Assembler Instructions Switch
3.2.4. $B: Boolean Evaluation Switch
3.2.5. $C: Assert Directives Switch
3.2.6. $CC: C/C++ Style Comments Switch
3.2.7. $D: Debug Information Switch
3.2.8. $I: I/O Checking Switch
3.2.9. $I: Include File Directive
3.2.10. $L: Link Object File Directive
3.2.11. $L: Local Symbol Information Switch
3.2.12. $MAP: Map File Generation Switch
3.2.13. $MMX: Intel MMX Assembler Instructions Switch
3.2.14. $OA: Objects and Structures Align Switch
3.2.15. $OPT: Full Optimization Switch
3.2.16. $OPTFRM: Stack Frame Optimization Switch
3.2.17. $OPTREG: Register Optimization Switch
3.2.18. $P: Open String Parameters Switch
3.2.19. $Q: Overflow Checking Switch
3.2.20. $R: Range-Checking Switch
3.2.21. $R: Resource file
3.2.22. $S: Stack-Overflow Checking Switch
3.2.23. $T: Type-Checked Pointers Switch
3.2.24. $TPO: Typed Inc/Dec Operations Switch
3.2.25. $V: Var-String Checking Switch
3.2.26. $W: Warnings Generation Switch
3.2.27. $X: Extended Syntax Switch
3.2.28. $XW: Extended Warnings
3.2.29. $Z: Minimum enumeration size switch
3.3. Predefined Symbols
4. Standard Units
4.1. AccCtrl Unit
4.2. AclAPI Unit
4.3. ActiveX Unit
4.4. CommCtrl Unit
4.5. CommDlg Unit
4.6. CompMath Unit
4.6.1. CompMath Unit Types
4.6.2. CompMath Unit Overloaded Operators
4.6.3. CompMath Unit Overloaded Fuctions
4.7. Cpl Unit
4.8. Crt Unit
4.8.1. Console Applications
4.8.2. CRT Unit Variables
4.8.2.1. Color Constants
4.8.2.2. TextMode Constants
4.8.2.3. CheckBreak
4.8.2.4. CheckEOF
4.8.2.5. DirectVideo
4.8.2.6. CheckSnow
4.8.2.7. LastMode
4.8.2.8. TextAttr
4.8.2.9. WindMax
4.8.2.10. WindMin
4.8.3. CRT Unit Procedures and Functions
4.8.3.1. AssignCrt procedure
4.8.3.2. ClrEOL procedure
4.8.3.3. ClrScr procedure
4.8.3.4. Delay procedure
4.8.3.5. DelLine procedure
4.8.3.6. GetCharXY function
4.8.3.7. GotoXY procedure
4.8.3.8. HideCursor procedure
4.8.3.9. HighVideo procedure
4.8.3.10. InsLine procedure
4.8.3.11. KeyPressed function
4.8.3.12. LowVideo procedure
4.8.3.13. NormVideo procedure
4.8.3.14. NoSound procedure
4.8.3.15. ReadKey function
4.8.3.16. SetScreenSize procedure
4.8.3.17. ShowCursor procedure
4.8.3.18. Sound procedure
4.8.3.19. TextBackGround procedure
4.8.3.10. TextColor procedure
4.8.3.11. TextMode procedure
4.8.3.12. WhereX function
4.8.3.13. WhereY function
4.8.3.14. Window procedure
4.8.3.15. WriteAttr procedure
4.9. D3D Unit
4.10. D3D8 Unit
4.11. D3DApp Unit
4.12. D3DFile Unit
4.13. D3DFont Unit
4.14. D3DRes Unit
4.15. D3DRM Unit
4.16. D3DUtil Unit
4.17. D3DX8 Unit
4.18. Ddeml Unit
4.19. DDraw Unit
4.20. Debug Unit
4.21. DInput Unit
4.22. Dlgs Unit
4.23. DMusic Unit
4.24. Dos Unit
4.24.1. Dos Unit Constants and Variables
4.24.1.1. Flag constants
4.24.1.2. File-mode constants
4.24.1.3. File-attribute constants
4.24.1.4. DateTime type
4.24.1.5. DosError variable
4.24.1.6. Registers type
4.24.1.7. SearchRec type
4.24.2. Dos Unit Procedures and Functions
4.24.2.1. DiskFree function
4.24.2.2. DiskFreeKB function
4.24.2.3. DiskSize function
4.24.2.4. DiskSizeKB function
4.24.2.5. DosExitCode function
4.24.2.6. DosVersion function
4.24.2.7. EnvCount function
4.24.2.8. EnvStr function
4.24.2.9. Exec procedure
4.24.2.10. FExpand function
4.24.2.11. FindFirst procedure
4.24.2.12. FindNext procedure
4.24.2.13. FSearch function
4.24.2.14. FSplit procedure
4.24.2.15. GetCBreak procedure
4.24.2.16. GetDate procedure
4.24.2.17. GetEnv function
4.24.2.18. GetFAttr procedure
4.24.2.19. GetFTime procedure
4.24.2.20. GetIntVec procedure
4.24.2.21. GetTime procedure
4.24.2.22. GetVerify procedure
4.24.2.23. Intr procedure
4.24.2.24. Keep procedure
4.24.2.25. MsDos procedure
4.24.2.26. PackTime procedure
4.24.2.27. SetCBreak procedure
4.24.2.28. SetDate procedure
4.24.2.29. SetFAttr procedure
4.24.2.30. SetFTime procedure
4.24.2.31. SetIntVec procedure
4.24.2.32. SetTime procedure
4.24.2.33. SetVerify procedure
4.24.2.34. SwapVectors procedure
4.24.2.35. UnpackTime procedure
4.25. DOSCall Unit
4.26. DPlay Unit
4.27. DPlay8 Unit
4.28. DPMI Unit
4.28.1. DPMI Unit Types
4.28.1.1. TRmRegs type
4.28.1.2. TDescriptor type
4.28.2. DPMI Unit Procedures and Functions
4.28.2.1. AllocateDescriptors function
4.28.2.2. AllocDosMemoryBlock function
4.28.2.3. AllocRealModeCallBack function
4.28.2.4. AllocateSpecificDescriptor function
4.28.2.5. CallRealModeFar procedure
4.28.2.6. CallRealModeIRet procedure
4.28.2.7. ClearRmRegs procedure
4.28.2.8. CreateCodeAlias function
4.28.2.9. CreateCodeDescriptor function
4.28.2.10. CreateDataAlias function
4.28.2.11. CreateDataDescriptor function
4.28.2.12. DosMemoryAlloc function
4.28.2.13. DosMemoryFree function
4.28.2.14. FarGetByte function
4.28.2.15. FarGetDWord function
4.28.2.16. FarGetWord function
4.28.2.17. FarPutByte procedure
4.28.2.18. FarPutDWord procedure
4.28.2.19. FarPutWord procedure
4.28.2.20. FreeDescriptor function
4.28.2.21. FreeDosMemoryBlock function
4.28.2.22. FreePhysicalMap function
4.28.2.23. FreeRealModeCallBack function
4.28.2.24. GetCS function
4.28.2.25. GetDisableInterruptState function
4.28.2.26. GetDPMIIntVec function
4.28.2.27. GetDPMIVer function
4.28.2.28. GetDS function
4.28.2.29. GetEnableInterruptState function
4.28.2.30. GetExceptionHandler function
4.28.2.31. GetFreeMemoryInfo function
4.28.2.32. GetInterruptState function
4.28.2.33. GetRealModeIntVec function
4.28.2.34. GetSegmentBaseAddress function
4.28.2.35. GetSelectorAccessRights function
4.28.2.36. MapPhysicalToLinear function
4.28.2.37. RealModeInt function
4.28.2.38. ResizeDosMemoryBlock function
4.28.2.39. SegmentToDescriptor function
4.28.2.40. SelectorInc function
4.28.2.41. SetDPMIIntVec function
4.28.2.42. SetExceptionHandler function
4.28.2.43. SetRealModeIntVec function
4.28.2.44. SetSelectorAccessRights function
4.28.2.45. SetSelectorBaseAddress function
4.28.2.46. SetSelectorLimit function
4.29. DSetup Unit
4.30. DShow Unit
4.31. DX7toDX8 Unit
4.32. DXFile Unit
4.33. DXUtil Unit
4.34. ErrCodes Unit
4.35. FDebug Unit
4.36. Graph Unit
4.36.1. Graph Unit Types, Constants and Variables
4.36.1.1. DrawBorder variable
4.36.1.2. Bar3D constants
4.36.1.3. BitBlt operators
4.36.1.4. Clipping constants
4.36.1.5. Color constants
4.36.1.6. Fill pattern constants
4.36.1.7. FillSettingsType
4.36.1.8. GraphModeType
4.36.1.9. GraphWndProc
4.36.1.10. Graphic result constants
4.36.1.11. IgnoreBreak variable
4.36.1.12. IgnoreCloseMessage variable
4.36.1.13. Justification constants
4.36.1.14. LineSettingsType
4.36.1.15. Text-Style constants
4.36.1.16. PaletteType
4.36.1.17. PointType
4.36.1.18. RGBType
4.36.1.19. SVGA mode constants
4.36.1.20. TextSettingsType
4.36.1.21. ViewPortType
4.36.1.22. VbeInfoType
4.36.1.23. VbeModeInfoType
4.36.2. Graph Unit Procedures and Functions
4.36.2.1. AnalizeRGBColor procedure
4.36.2.2. Arc procedure
4.36.2.3. Bar procedure
4.36.2.4. Bar3D procedure
4.36.2.5. Circle procedure
4.36.2.6. ClearDevice procedure
4.36.2.7. ClearPage procedure
4.36.2.8. ClearViewPort procedure
4.36.2.9. CliRetrace procedure
4.36.2.10. CliHRetrace procedure
4.36.2.11. CloseGraph procedure
4.36.2.12. DetectSVGAMode procedure
4.36.2.13. DrawEllipse procedure
4.36.2.14. DrawHLine procedure
4.36.2.15. DrawPoly procedure
4.36.2.16. Ellipse procedure
4.36.2.17. ExpandFill procedure
4.36.2.18. FillCircle procedure
4.36.2.19. FillEllipse procedure
4.36.2.20. FillPoly procedure
4.36.2.21. FillTriangle procedure
4.36.2.22. FlipImageOX procedure
4.36.2.23. FlipImageOY procedure
4.36.2.24. FlipToMemory procedure
4.36.2.25. FlipToScreen procedure
4.36.2.26. FloodFill procedure
4.36.2.27. GetActivePage function
4.36.2.28. GetAspectRatio procedure
4.36.2.29. GetBytesPerScanLine
4.36.2.30. GetColor function
4.36.2.31. GetDefaultPalette procedure
4.36.2.32. GetFillColor function
4.36.2.33. GetFillPattern procedure
4.36.2.34. GetFillSettings procedure
4.36.2.35. GetGraphBufSize function
4.36.2.36. GetGraphMode function
4.36.2.37. GetHTextel procedure
4.36.2.38. GetImage procedure
4.36.2.39. GetLfbAddress function
4.36.2.40. GetLineSettings procedure
4.36.2.41. GetLogicalPage procedure
4.36.2.42. GetMaxColor function
4.36.2.43. GetMaxPage function
4.36.2.44. GetMaxX function
4.36.2.45. GetMaxY function
4.36.2.46. GetOemProductName function
4.36.2.47. GetOemProductRev function
4.36.2.48. GetOemString function
4.36.2.49. GetOemVendorName function
4.36.2.50. GetPageDC function
4.36.2.51. GetPageSize function
4.36.2.52. GetPalette procedure
4.36.2.53. GetPixel function
4.36.2.54. GetRGBPalette procedure
4.36.2.55. GetScreenHeight function
4.36.2.56. GetScreenWidth function
4.36.2.57. GetTextSettings procedure
4.36.2.58. GetTranspSettings procedure
4.36.2.59. GetVbeCapabilities function
4.36.2.60. GetVbeInfo procedure
4.36.2.61. GetVbeModeInfo procedure
4.36.2.62. GetVbeModesList procedure
4.36.2.63. GetVbeVersion function
4.36.2.64. GetViewSettings procedure
4.36.2.65. GetVisualPage function
4.36.2.66. GetWindowHandle function
4.36.2.67. GetWriteMode function
4.36.2.68. GetX function
4.36.2.69. GetY function
4.36.2.70. GraphDefaults procedure
4.36.2.71. GraphErrorMsg function
4.36.2.72. GraphResult function
4.36.2.73. HRetrace procedure
4.36.2.74. ImageSize function
4.36.2.75. InvertImage procedure
4.36.2.76. IsLfbUsed function
4.36.2.77. Line procedure
4.36.2.78. LineRel procedure
4.36.2.79. LineTo procedure
4.36.2.80. MoveRel procedure
4.36.2.81. MoveTo procedure
4.36.2.82. OutCharXY procedure
4.36.2.83. OutText procedure
4.36.2.84. OutTextXY procedure
4.36.2.85. PutHTextel procedure
4.36.2.86. PutImage procedure
4.36.2.87. PutPixel procedure
4.36.2.88. PutSprite procedure
4.36.2.89. Rectangle procedure
4.36.2.90. ReleasePageDC procedure
4.36.2.91. RestoreCrtMode procedure
4.36.2.92. Retrace procedure
4.36.2.93. RGBColor procedure
4.36.2.94. SetActivePage procedure
4.36.2.95. SetAllPalette procedure
4.36.2.96. SetAspectRatio procedure
4.36.2.97. SetBkColor procedure
4.36.2.98. SetColor procedure
4.36.2.99. SetCustomFont procedure
4.36.2.100. SetFillColor procedure
4.36.2.101. SetFillPattern procedure
4.36.2.102. SetFillStyle procedure
4.36.2.103. SetGraphBufSize procedure
4.36.2.104. SetGraphMode procedure
4.36.2.105. SetLineStyle procedure
4.36.2.106. SetLogicalPage procedure
4.36.2.107. SetNormalMode procedure
4.36.2.108. SetPalette procedure
4.36.2.109. SetRGBPalette procedure
4.36.2.110. SetScreenStart procedure
4.36.2.111. SetSVGAMode procedure
4.36.2.112. SetTextJustify procedure
4.36.2.113. SetTextStyle procedure
4.36.2.114. SetSplineLineSteps procedure
4.36.2.115. SetTranspMode procedure
4.36.2.116. SetViewPort procedure
4.36.2.117. SetVirtualMode procedure
4.36.2.118. SetVisualPage procedure
4.36.2.119. SetWriteMode procedure
4.36.2.120. Spline procedure
4.36.2.121. Stretch procedure
4.36.2.122. TextHeight function
4.36.2.123. TextWidth function
4.36.2.124. TotalVbeMemory function
4.36.2.125. TotalVbeModes function
4.36.2.126. Triangle procedure
4.37. HtmlHlp Unit
4.38. ImageHlp Unit
4.39. Imm Unit
4.40. Keyboard Unit
4.40.1. Keyboard Unit Constants
4.40.2. Keyboard Unit Procedures and Functions
4.40.2.1. AsciiToScan function
4.40.2.2. GetKey function
4.40.2.3. FlushKeyboard procedure
4.40.2.4. MultikeysDone procedure
4.40.2.5. MultikeysInit procedure
4.40.2.6. ScanToAscii function
4.40.2.7. TestAlt function
4.40.2.8. TestCapsLock function
4.40.2.9. TestCtrl function
4.40.2.10. TestNumLock function
4.40.2.11. TestScrollLock function
4.40.2.12. TestShift function
4.40.2.13. TestKey function
4.41. LM Unit
4.42. LZExpand Unit
4.43. MAPI Unit
4.44. Math Unit
4.44.1. Math Unit Constants
4.44.2. Math Unit Procedures and Functions
4.44.2.1. ArcCos function
4.44.2.2. ArcCosH function
4.44.2.3. ArcCotan function
4.44.2.4. ArcCotanH function
4.44.2.5. ArcCsc function
4.44.2.6. ArcCscH function
4.44.2.7. ArcSec function
4.44.2.8. ArcSecH function
4.44.2.9. ArcSin function
4.44.2.10. ArcSinH function
4.44.2.11. ArcTan2 function
4.44.2.12. ArcTanH function
4.44.2.13. Ceil function
4.44.2.14. CelsToFahr function
4.44.2.15. ChgSign function
4.44.2.16. CmToInch function
4.44.2.17. CopySign function
4.44.2.18. CosH function
4.44.2.19. Cotan function
4.44.2.10. Csc function
4.44.2.21. CscH function
4.44.2.22. Cterm function
4.44.2.23. CycleToRad function
4.44.2.24. DeltaPercent function
4.44.2.25. DegToRad function
4.44.2.26. Evaluate procedure
4.44.2.27. FahrToCels function
4.44.2.28. Floor function
4.44.2.29. FMod function
4.44.2.20. Fv function
4.44.2.31. GalToLitre function
4.44.2.32. GradToRad function
4.44.2.33. Hypot function
4.44.2.34. InchToCm function
4.44.2.35. KgToLb function
4.44.2.36. LbToKg function
4.44.2.37. LitreToGal function
4.44.2.38. Log10 function
4.44.2.39. Log2 function
4.44.2.30. LogN function
4.44.2.41. LRotL function
4.44.2.42. LRotR function
4.44.2.43. Max function
4.44.2.44. Min function
4.44.2.45. Modf function
4.44.2.46. Npv function
4.44.2.47. Percent function
4.44.2.48. Pmt function
4.44.2.49. Power function
4.44.2.40. Pv function
4.44.2.51. RadToCycle function
4.44.2.52. RadToDeg function
4.44.2.53. RadToGrad function
4.44.2.54. Rate function
4.44.2.55. Sec function
4.44.2.56. SecH function
4.44.2.57. Sgn function
4.44.2.58. SinH function
4.44.2.59. Sln function
4.44.2.50. Syd function
4.44.2.61. Tan function
4.44.2.62. TanH function
4.44.2.63. Term function
4.45. Messages Unit
4.46. MMedia Unit
4.46.1. TMMedia Object Fields
4.46.1.1. AutoRewind
4.46.1.2. MCErrorProc
4.46.1.3. Notify
4.46.1.4. PlayFullScreen
4.46.1.5. PlayRepeat
4.46.1.6. StopAtClose
4.46.1.7. Wait
4.46.2. TMMedia Object Methods
4.46.2.2. Close
4.46.2.3. Create
4.46.2.4. ErrorCode
4.46.2.5. GetDevice
4.46.2.6. GetDeviceCaps
4.46.2.7. GetDeviceID
4.46.2.8. GetFirstAudioTrack
4.46.2.9. GetLength
4.46.2.10. GetPos
4.46.2.11. GetStatus
4.46.2.12. GetTimeFormat
4.46.2.13. GetTrackFormat
4.46.2.14. GetTrackLength
4.46.2.15. GetTracksCount
4.46.2.16. GetTrackPos
4.46.2.17. GotoFirstAudioTrack
4.46.2.18. Next
4.46.2.19. Open
4.46.2.20. Pause
4.46.2.21. Play
4.46.2.22. Previous
4.46.2.23. Rec
4.46.2.24. ResetEndPos
4.46.2.25. ResetStartPos
4.46.2.26. Resume
4.46.2.27. Save
4.46.2.28. SetDevice
4.46.2.29. SetDisplayRect
4.46.2.30. SetDisplayWindow
4.46.2.31. SetDoorClosed
4.46.2.32. SetDoorOpen
4.46.2.33. SetEndPos
4.46.2.34. SetPos
4.46.2.35. SetStartPos
4.46.2.36. SetTimeFormat
4.46.2.37. Step
4.46.2.38. Stop
4.46.2.39. Rewind
4.47. MMSystem Unit
4.48. Mouse Unit
4.48.1. Mouse Unit Procedures and Functions
4.48.1.1. ClearMouseHandler procedure
4.48.1.2. DoneMouse procedure
4.48.1.3. GetButtonCount function
4.48.1.4. GetMouseInfo procedure
4.48.1.5. GetMouseX function
4.48.1.6. GetMouseY function
4.48.1.7. HideMouse procedure
4.48.1.8. InitMouse procedure
4.48.1.9. LeftButtonPressed function
4.48.1.10. MickyToText function
4.48.1.11. MiddleButtonPressed function
4.48.1.12. RightButtonPressed function
4.48.1.13. SetMouseHandler procedure
4.48.1.14. SetMousePos procedure
4.48.1.15. SetMouseRange procedure
4.48.1.16. ShowMouse procedure
4.48.1.17. TextToMicky function
4.49. Nb30 Unit
4.50. OpenGL Unit
4.51. OS2PMAPI Unit
4.52. OS2Ord Unit
4.53. OS2Types Unit
4.54. PenWin UNit
4.55. Printer Unit
4.56. Regstr Unit
4.57. RichEdit Unit
4.58. ShellAPI Unit
4.59. ShlObj Unit
4.60. Strings Unit
4.60.1. Strings Unit Overloaded Operators
4.60.2. Strings Unit Procedures and Functions
4.60.2.1. Align function
4.60.2.2. AnsiCompareStr function
4.60.2.3. AnsiLowerCase function
4.60.2.4. AnsiCompareText function
4.60.2.5. AnsiStrComp function
4.60.2.6. AnsiStrIComp function
4.60.2.7. AnsiStrLComp function
4.60.2.8. AnsiStrLIComp function
4.60.2.9. AnsiStrLower function
4.60.2.10. AnsiStrUpper function
4.60.2.11. AnsiUpperCase function
4.60.2.12. AppendPathDelimiter function
4.60.2.13. Bin function
4.60.2.14. Dup_CI function
4.60.2.15. Dup_SI function
4.60.2.16. Fix function
4.60.2.17. FloatToStr function
4.60.2.18. Fls function
4.60.2.19. Flt function
4.60.2.20. Hex function
4.60.2.21. HexVal function
4.60.2.22. IntToBin function
4.60.2.23. IntToHex function
4.60.2.24. IntToStr function
4.60.2.25. IsDelimiter function
4.60.2.26. IsPathDelimiter function
4.60.2.27. IsValidIdent function
4.60.2.28. LastDelimiter function
4.60.2.29. LowerCase function
4.60.2.30. QuotedStr function
4.60.2.31. StrAppend procedure
4.60.2.32. StrAppendC procedure
4.60.2.33. StrCat function
4.60.2.34. StrComp function
4.60.2.35. StrCopy function
4.60.2.36. StrDispose procedure
4.60.2.37. StrECopy function
4.60.2.38. StrEnd function
4.60.2.39. StrLCat function
4.60.2.40. StrIComp function
4.60.2.41. StrLComp function
4.60.2.42. StrLCopy function
4.60.2.43. StrLen function
4.60.2.44. StrLIComp function
4.60.2.45. StrLower function
4.60.2.46. StrMove function
4.60.2.47. StrNew function
4.60.2.48. StrPas function
4.60.2.49. StrPCopy function
4.60.2.50. StrPos function
4.60.2.51. StrRScan function
4.60.2.52. StrScan function
4.60.2.53. StrToInt function
4.60.2.54. StrToIntDef function
4.60.2.55. StrUpper function
4.60.2.56. Trim function
4.60.2.57. TrimLeft function
4.60.2.58. TrimRight function
4.60.2.59. Uns function
4.60.2.60. UpperCase function
4.60.2.61. Whl function
4.61. System Unit
4.61.1. System Unit Variables
4.61.1.1. _environ variable
4.61.1.2. _psp variable
4.61.1.3. _zero variable
4.61.1.4. CmdLine variable
4.61.1.5. CmdShow variable
4.61.1.6. ErrorAddr variable
4.61.1.7. ExeName variable
4.61.1.8. ExeSize variable
4.61.1.9. ExitCode variable
4.61.1.10. ExitProc variable
4.61.1.11. FarPointer type
4.61.1.12. FileMode variable
4.61.1.13. HeapHandle variable
4.61.1.14. hInstance variable
4.61.1.15. InOutRes variable
4.61.1.16. Input variable
4.61.1.17. IsConsole variable
4.61.1.18. IsLibrary variable
4.61.1.19. LongRec type
4.61.1.20. LongLongRec type
4.61.1.21. MaxCardinal constant
4.61.1.22. MaxDWord constant
4.61.1.23. MaxInt constant
4.61.1.24. MaxLongint constant
4.61.1.25. MaxWord constant
4.61.1.26. Output variable
4.61.1.27. RandSeed variable
4.61.1.28. StdErrorHandle variable
4.61.1.29. StdInputHandle variable
4.61.1.30. StdOutputHandle variable
4.61.1.31. Test8086 variable
4.61.1.32. Test8087 variable
4.61.2. System Unit Procedures and Functions
4.61.2.1. Abs function
4.61.2.2. Addr function
4.61.2.3. Append procedure
4.61.2.4. ArcTan function
4.61.2.5. Assert procedure
4.61.2.6. Assign procedure
4.61.2.7. Assigned function
4.61.2.8. BlockRead procedure
4.61.2.9. BlockWrite procedure
4.61.2.10. Break procedure
4.61.2.11. ChDir procedure
4.61.2.12. Chr function
4.61.2.13. Close procedure
4.61.2.14. CompareMem function
4.61.2.15. Concat function
4.61.2.16. Continue procedure
4.61.2.17. Copy function
4.61.2.18. Cos function
4.61.2.19. Dec procedure
4.61.2.20. Delete procedure
4.61.2.21. Dispose procedure
4.61.2.22. Eof function
4.61.2.23. Eoln function
4.61.2.24. Erase procedure
4.61.2.25. Exit procedure
4.61.2.26. Exclude procedure
4.61.2.27. Exp function
4.61.2.28. FilePos function
4.61.2.29. FileSize function
4.61.2.30. FillChar procedure
4.61.2.31. Flush procedure
4.61.2.32. Frac function
4.61.2.33. FreeMem procedure
4.61.2.34. GetDir procedure
4.61.2.35. GetLocaleStr function
4.61.2.36. GetMem procedure
4.61.2.37. Halt procedure
4.61.2.38. Hi function
4.61.2.39. High function
4.61.2.40. Inc procedure
4.61.2.41. Include procedure
4.61.2.42. Insert procedure
4.61.2.43. Int function
4.61.2.44. IOResult function
4.61.2.45. Length function
4.61.2.46. Ln function
4.61.2.47. Lo function
4.61.2.48. LoCase function
4.61.2.49. Low function
4.61.2.50. MaxAvail function
4.61.2.51. MemAvail function
4.61.2.52. MkDir procedure
4.61.2.53. Move procedure
4.61.2.54. New procedure
4.61.2.55. Odd function
4.61.2.56. Ofs function
4.61.2.57. Ord function
4.61.2.58. ParamCount function
4.61.2.59. ParamStr function
4.61.2.60. Pi function
4.61.2.61. Pos function
4.61.2.62. Pred function
4.61.2.63. Ptr function
4.61.2.64. QSort procedure
4.61.2.65. Random function
4.61.2.66. Randomize procedure
4.61.2.67. Read procedure
4.61.2.68. ReadLn procedure
4.61.2.69. Rename procedure
4.61.2.70. Reset procedure
4.61.2.71. ReWrite procedure
4.61.2.72. RmDir procedure
4.61.2.73. Round function
4.61.2.74. Round64 function
4.61.2.75. RunError procedure
4.61.2.76. Seek procedure
4.61.2.77. SeekEof procedure
4.61.2.78. SeekEoln procedure
4.61.2.79. SetString procedure
4.61.2.80. SetTextBuf procedure
4.61.2.81. Sin function
4.61.2.82. SizeOf function
4.61.2.83. Sqr function
4.61.2.84. Sqrt function
4.61.2.85. Str procedure
4.61.2.86. Succ function
4.61.2.87. Swap function
4.61.2.88. SwapArgs procedure
4.61.2.89. Trunc function
4.61.2.90. Trunc64 function
4.61.2.91. Truncate procedure
4.61.2.92. UpCase function
4.61.2.93. Val procedure
4.61.2.94. Win32BuildNumber function
4.61.2.95. Win32MajorVersion function
4.61.2.96. Win32MinorVersion function
4.61.2.97. Win32Platform function
4.61.2.98. Write procedure
4.61.2.99. WriteLn procedure
4.62. TlHelp32 Unit
4.63. URLMon Unit
4.64. Use16 Unit
4.65. Use32 Unit
4.66. WinCRT
4.66.1. WinCRT Unit Variables
4.66.1.1. AutoTracking variable
4.66.1.2. CheckBreak variable
4.66.1.3. CheckEOF variable
4.66.1.4. CloseOnExit variable
4.66.1.5. Color Constants
4.66.1.6. CurOrg variable
4.66.1.7. Cursor variable
4.66.1.8. InactiveTitle variable
4.66.1.9. ScreenSize variable
4.66.1.10. ScrollCrtWindow variable
4.66.1.11. WindowOrg variable
4.66.1.12. WindowSize variable
4.66.1.13. WindowTitle variable
4.66.2. WinCRT Unit Procedures and Functions
4.66.2.1. AssignCrt procedure
4.66.2.2. ClrEOL procedure
4.66.2.3. ClrScr procedure
4.66.2.4. CursorTo procedure
4.66.2.5. Delay procedure
4.66.2.6. DoneWinCRT procedure
4.66.2.7. GetCharXY function
4.66.2.8. GotoXY procedure
4.66.2.9. HideCursor procedure
4.66.2.10. InitWinCRT procedure
4.66.2.11. KeyPressed function
4.66.2.12. NoSound procedure
4.66.2.13. ReadBuf procedure
4.66.2.14. ReadKey function
4.66.2.15. ScrollTo procedure
4.66.2.16. ShowCursor procedure
4.66.2.17. Sound procedure
4.66.2.18. TextBackGround procedure
4.66.2.19. TextColor procedure
4.66.2.20. TrackCursor procedure
4.66.2.21. WhereX function
4.66.2.22. WhereY function
4.66.2.23. WriteBuf procedure
4.66.2.24. WriteChar procedure
4.67. WinDNS Unit
4.68. WinDos Unti
4.68.1. WinDos Unit Constants and Variables
4.68.1.1. Flag constants
4.68.1.2. File-mode constants
4.68.1.3. File-attribute constants
4.68.1.4. TDateTime type
4.68.1.5. DosError variable
4.68.1.6. TRegisters type
4.68.1.7. TSearchRec type
4.68.2. WinDos Unit Procedures and Functions
4.68.2.1. CreateDir procedure
4.68.2.2. DiskFree function
4.68.2.3. DiskFreeKB function
4.68.2.4. DiskSize function
4.68.2.5. DiskSizeKB function
4.68.2.6. DosVersion function
4.68.2.7. FileExpand function
4.68.2.8. FindFirst procedure
4.68.2.9. FindNext procedure
4.68.2.10. FileSearch function
4.68.2.11. FileSplit procedure
4.68.2.12. GetArgCount function
4.68.2.13. GetArgStr function
4.68.2.14. GetCBreak procedure
4.68.2.15. GetCurDir function
4.68.2.16. GetDate procedure
4.68.2.17. GetEnvVar function
4.68.2.18. GetFAttr procedure
4.68.2.19. GetFTime procedure
4.68.2.20. GetIntVec procedure
4.68.2.21. GetTime procedure
4.68.2.22. GetVerify procedure
4.68.2.23. Intr procedure
4.68.2.24. MsDos procedure
4.68.2.25. PackTime procedure
4.68.2.26. RemoveDir procedure
4.68.2.27. SetCBreak procedure
4.68.2.28. SetCurDir procedure
4.68.2.29. SetDate procedure
4.68.2.30. SetFAttr procedure
4.68.2.31. SetFTime procedure
4.68.2.32. SetIntVec procedure
4.68.2.33. SetTime procedure
4.68.2.34. SetVerify procedure
4.68.2.35. UnpackTime procedure
4.69. Windows Unit
4.70. WinInet Unit
4.71. WinSock Unit
4.72. WinSpool Unit
4.73. WinSvc Unit
4.74. ZenTimer Unit
4.74.1. ZenTimer Unit Procedures and Functions
4.74.1.1. CPU_getCPUIdFeatures function
4.74.1.2. CPU_getProcessorSpeed function
4.74.1.3. CPU_getProcessorType function
4.74.1.4. CPU_haveMMX function
4.74.1.5. CPU_have3DNow function
4.74.1.6. LZDelay procedure
4.74.1.7. LZTimerCount function
4.74.1.8. LZTimerLap function
4.74.1.9. LZTiemerOff procedure
4.74.1.10. LZTiemerOn procedure
4.74.1.11. LZTimerResolution function
4.74.1.12. ULZDelay procedure
4.74.1.13. ULZElapsedTime function
4.74.1.14. ULZReadTime function
4.74.1.15. ULZTimerCount function
4.74.1.16. ULZTimerLap function
4.74.1.17. ULZTimerOff procedure
4.74.1.18. ULZTimerOn procedure
4.74.1.19. ULZTimerResolution function
4.74.1.20. ZTimerInit procedure
4.75. ZMouse Unit
5. IDE (Integrated Development Environment)
5.1. Bookmarks
5.2. Code Templates
5.3. Compiler Options
5.4. Directories
5.5. Debug Search Directory
5.6. Display
5.7. Editor
5.8. Editor Shortcuts
5.9. Compiler and Debugger Shortcuts
5.10. Debugger Commands
6. Win32 Programming
6.1. Writing Win32 GUI Applications
6.2. Structure of Window Procedure
6.3. Designing a Window Procedure
6.4. Associating a Window Procedure with a Window Class
6.5. Example of Win32 GUI Application
6.6. Writing Win32 Control Panel Applications
6.6.1. Control Panel applications
6.7. Application Responsibilities and Operation
6.8. Application Entry-Point Function
6.9. Writing Dinamic-Link Libraries (DLLs)
6.10. Using Dinamic-Link Libraries (DLLs)
6.11. Multimedia Applications Development Using MMedia Unit
7. PMODE/W MSDOS Extender
7.1. About PMODE/W
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.1. Function 0000 - Allocate Descriptors
7.2.2. Function 0001 - Free Descriptor
7.2.3. Function 0002 - Segment to Descriptor
7.2.4. Function 0003 - Get Selector Increment Value
7.2.5. Function 0006 - Get Segment Base Address
7.2.6. Function 0007 - Set Segment Base Address
7.2.7. Function 0008 - Set Segment Limit
7.2.8. Function 0009 - Set Descriptor Access Rights
7.2.9. Function 000A - Create Alias Descriptor
7.2.10. Function 000B - Get Descriptor
7.2.11. Function 000C - Set Descriptor
7.2.12. Function 0100 - Allocate DOS Memory Block
7.2.13. Function 0101 - Free DOS Memory Block
7.2.14. Function 0102 - Resize DOS Memory Block
7.2.15. Function 0200 - Get Real Mode Interrupt Vector
7.2.16. Function 0201 - Set Real Mode Interrupt Vector
7.2.17. Function 0202 - Get Processor Exception Handler Vector
7.2.18. Function 0203 - Set Processor Exception Handler Vector
7.2.19. Function 0204 - Get Protected Mode Interrupt Vector
7.2.20. Function 0205 - Set Protected Mode Interrupt Vector
7.2.21. Function 0300 - Simulate Real Mode Interrupt
7.2.22. Function 0301 - Call Real Mode Procedure With Far Return Frame
7.2.23. Function 0302 - Call Real Mode Procedure With IRET Frame
7.2.24. Function 0303 - Allocate Real Mode Callback Address
7.2.25. Function 0304 - Free Real Mode Callback Address
7.2.26. Function 0305 - Get State Save/Restore Addresses
7.2.27. Function 0306 - Get Raw Mode Switch Addresses
7.2.28. Function 0400 - Get Version
7.2.29. Function 0500 - Get Free Memory Information
7.2.30. Function 0501 - Allocate Memory Block
7.2.31. Function 0502 - Free Memory Block
7.2.32. Function 0503 - Resize Memory Block
7.2.33. Function 0800 - Physical Address Mapping
7.2.34. Function 0801 - Free Physical Address Mapping
7.2.35. Function 0900 - Get and Disable Virtual Interrupt State
7.2.36. Function 0901 - Get and Enable Virtual Interrupt State
7.2.37. Function 0902 - Get Virtual Interrupt State
7.2.38. Function EEFF - Get DOS Extender Information
8. Appendix. Win32 Family Operating Systems
9. Contacting TMT Development Corporation
Copyright © 1998-2002 by
TMT Development Corporation
. All rights reserved.
Questions, comments, and suggestions to
support@tmt.com
.
HTML arrangement by
Valery Votintsev