Re: Fw: 2.00.3 code fails in 2.2.2

From: Robert Dickow <dickow_at_uidaho.edu>
Date: Thu, 29 Mar 2001 20:48:08 -0800

Yes, Rick and all who replied, thanks. It wasn't so much the missing :: but
many object addresses needed to be followed by ADDR in my code. It took a
while weeding out the probs, but all works well now.

Bob

> 3. Object compilation grew more complicated. Any reference to a
> windows api call while defining an object must be preceeded by
> a double-colon escape operator. For instance,
>
> CLASS FOO
> : TEST ( -- ) 0 Z" Test" Z" Box" MB_OK :: MessageBox DROP ;
> END-CLASS
>
> This is why your code doesn't work.
>

----------------------------------------------------------------------
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 Thu Mar 29 2001 - 20:50:01 PST


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

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