Re: C Structures

From: Robert Dickow <dickow_at_uidaho.edu>
Date: Mon, 16 Apr 2001 07:55:48 -0700

The use of Windows structures hasn't been too hard for me, but in the case
of the occassional unions in Windows, there are two names for the same
memory, depending on intended usage of the memory. What I've been doing is
simply arbitrarily naming the location with one or the other Windows name as
in the API docs. But then, I have to use my brain memory a lot to remember
which to really use when reading the API stuff and applying it to my code.
This is a little inelegant, and maybe if I put my mind to it, I could find a
better way. Is there a way to create synonyms inside (or outside) SwiftForth
classes or structs?

Bob

><Rick writes:>
> I think what Mike Ghan is trying to do is to build a
> "rule of thumb" in order to be able to convert simply
> from the structures specified by the Windows api to
> a SwiftForth compatable structure, which isn't too

----------------------------------------------------------------------
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!
Received on Mon Apr 16 2001 - 07:57:16 PDT


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 08-Feb-2012. Archive updated nightly.