Talk:Pascal Programming

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

If 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)

[edit] Um...

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)


[edit] Content

  • 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?

[edit] Organization

  • 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)