PAS File Documentation
Overview
| Feature | Value |
|---|---|
| File Extension | .pas |
| File Type | Pascal Source File |
| MIME Type | text/x-pascal |
| Developed by | Niklaus Wirth |
| Language Paradigm | Procedural, Imperative |
| Primary Use | Software Development |
| Encoding | ASCII, UTF-8 |
| Comment Syntax | { Comment } or (* Comment *) |
| File Structure | Program, Uses, Type, Var, Implementation, Begin-End |
| Procedure Declaration | Procedure ProcedureName; |
| Function Declaration | Function FunctionName: ReturnType; |
| Variable Declaration | Var VariableName: DataType; |
| Compilation | Required |
| Case Sensitivity | No |
| Integrated Development Environment (IDE) Support | Delphi, Lazarus, Free Pascal |
| Standard | ISO 7185, Extended by Borland Pascal |
| Typical Constructs | if, then, else, case, for, while, repeat |
| Native DataTypes | Integer, Real, Char, String, Array, Record |
| Scope Control | Begin-End blocks, Procedure, and Function |
| Exception Handling | Try...Except, Try...Finally |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.