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

I have been using the WinEd (project to rewrite the Win32Forth Editor) and
it
had a list of Windows Constants when you type
Constants
The list is quite long. I just started using it to look up the names and
spelling.
This is what I get when I LOCATE it:
>From file: WORDS.F At line: 116
----------------------------------------------------------------------------
--------------------------------------
cr 6 u,.r ." Words in System dictionary"
cr 6 u,.r ." Words total in dictionaries"
cr count-constants 6 u,.r ." Windows Constants available"
;
----------------------------------------------------------------------------
--------------------------------------
: CONSTANTS ( -<optional_name>- )
----------------------------------------------------------------------------
--------------------------------------
cr
WinConPtr cell+ @ 0= \ Leave if
'FindWin32Constant'
if ." WINCON.DLL missing"
EXIT \ hasn't already been
resolved
then
cr ." ----------- Windows Constants "
horizontal-line
0 to constant-cnt
0 to constant-tot
FALSE to count-only?
&.WinConstant rel>abs
bl word ?uppercase count words-pocket place
bl word ?uppercase drop
0 here rel>abs
CALL EnumWin32Constants DROP
----------------------------------------------------------------------------
--------------------------------------
I guess if the WinEd project is Public Domain, I could add it to my SF
tools. But the issue is
that the Win32Forth has a different OOP Class Calling Paradigm that is not
easy for me to
figure out without spending months. I suggested that the group update the
OOP but there was
no enthusiasm for that idea. -)
If there is an equivalent word in SF, I have not found it yet.
>
> I can't help too much with the win api, I find it totally confusing. But
I can
> help a bit with "pascal calling conventions" This goes back to the 80's.
> When the PC was released some languages passed arguments using a
> register that pointed to a list of arguments, some passed arguments on
> the stack left to right, and some passed arguments on the stack right to
> left. The latter was the Borland pascal way, and MS chose that for
I have been looking at the Borland Code to try to figure out what it is
doing. it seems
that the Pascall code is easier to read. But they have also hidden Windows
API code
in the .cpp files so one has to hunt through them to see the syntax.
Jodell
>
cut...
>
> Gene
>
>
--- 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 - 14:07:06 PDT
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:23 PST