Software Engineers Handbook/Language Dictionary/Pascal
Pascal
editHere is the wikipedia page.
Type
editPascal is a full procedural programming language.
Execution Entry Point
editProgram Name (input, output) begin end.
General Syntax
edita:=b;
Comments
edit(* this is a comment *)
or
{ This is a comment }
or
//This is a comment
Variable Declarations
editVariables declarations are necessary:
var i: integer ; k: boolean; d:Real;
Method Declaration/Implementation
edit<Describe how methods/functions/procedures are declared and implemented.>
Scope
edit<Describe how scope is defined.>
Conditional Statements
edit<Describe the conditional statements in text and present
code examples.
(put a space in the front of the line to format as code)>
Looping Statements
edit<Describe looping statements in English and present code examples.>
Output Statements
edit<Describe how to output Hello world! including the new-line with or without a carriage return.> úΜÈŔŔŶ—
Error Handling/Recovery
edit<Describe error handling and recovery. Give examples as appropriate.>
Containers
edit<List containers or references to lists of containers available natively for this language. List ways to incorporate containers if they are not native to the language.>
Algorithms
edit<List algorithms or references to lists of algorithms available natively for this language. List ways to incorporate algorithms if they are not native to the language. Or, if not available, describe that.>
Garbage collection
edit<Describe whether the garbage collection is automatic or manual.>
Physical Structure
editTips
edit- i have found it helpful when i switched from qbasic to pascal to just sit down and write 10 small or large programs for each of the most needed things in pascal example,*for loops,variable declaration,while loops*may be called something else*
Web References
edit<List additional references on the web. Please include for what level reader the references are appropriate. (beginner/intermediate/advanced)>
Books and Articles
edit<List additional books and articles that may be helpful. Please include for what level reader the references are appropriate. (beginner/intermediate/advanced)>