Talk:Pascal Programming
Add topicIf you are going to write a book on Borland Pascal, can you at least mention the fact that it is Borland Pascal ? The first programs I looked at here were not valid Pascal.--67.180.160.45 4 July 2005 17:35 (UTC)
Disregarding the date, all of the code looks relatively fine - everything should compile with Free Pascal 2.2.2. Lostvoid (talk) 03:18, 9 November 2008 (UTC)
Um...
[edit source]I plan on adding a category regarding Units and I plan to elaborate the 'Getting Started' section with the basic format (program, type, const, var, begin, end.) My experience is limited so I do not understand Units very well - I only have 'Essential Pascal' to rely on as a source.
Also, I personally do not yet understand the following code:
Function WindowProc (Window:HWnd;AMessage : UINT; WParam : WParam; LParam:LParam): LResult; stdcall; export; I presume the export refers to DLL's (which is another subject I'm unfamiliar with.) Lostvoid (talk) 07:11, 9 November 2008 (UTC)
Content
[edit source]- Discuss each of the three main compilers more. Provide basic install assistance?
- Beginning: Basic structure, Comments, Code Clarity.
- Variables and Constants: should include data types. Include custom data types?
- External Libraries: DLL's, etc.
- Units: Structure, Usings, Makings.
- Control Structures: Include label..goto?
Organization
[edit source]- Split Syntax from Function/Procedures? Place syntax near the beginning?
- Keep arrays and pointers seperate? Elaborate each.
Lostvoid (talk) 12:24, 9 November 2008 (UTC)
Different dialect of Pascal (Object Pascal)
[edit source]As pascal programming languages are improved beyond its standard, there are different dialect of pascal programming language , Delphi, Free Pascal and GNU Pascal have differences in their implementation. As an example Delphi supports Interfaces () from version 7 and has for each loop from Delphi 2006 and these are not developed in Free pascal or as another example GNU Pascal has some result definition syntax which is not implemented in other pascals. I think it should be mentioned in this book about different dialects and If a specified implementation is going to be used.