![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Ok, so does that mean that forth code should be using the Pascal Calling
Convention? Is Pascal Calling Conventions used in the Windows API?
Jodell
>
> Tuesday, July 2, 2002, 2:20:14 PM, you wrote:
>
> AoD> I am bit confused about the Term: Pascal Calling Conventions.
> AoD> I understand a convention. If I study the Pascal Object Oriented
> AoD> language conventions will that help me to understand the Windows
> AoD> API paradigm?
>
> Jodell,
>
> The basic difference is: does the routine called clean up parameters
> passed to it or is the code that executed the call responsible for
> the cleanup. With the "pascal" calling convention, the code which is
> called must clean up all parameters left on the stack. With the "C"
> convention, the routine which did the call must clean it up. Virtually
> (but not quite) all the Windows API is implemented as "pascal".
>
> Rick
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
> For help with listar commands, send subject "help" to listar_at_forth.com
> Archives are located at http://www.forth.com/sftalk -- check them out!
> Search the archives! Visit http://www.forth.com/search for details.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002 ---------------------------------------------------------------------- sftalk_at_forth.com The SwiftForth programming discussion email list To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com For help with listar commands, send subject "help" to listar_at_forth.com Archives are located at http://www.forth.com/sftalk -- check them out! Search the archives! Visit http://www.forth.com/search for details.Received on Fri Jul 05 2002 - 13:26:02 PDT
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:23 PST