programming tools for Windows applications development
  Home  |   SwiftForth Archive  |   SwiftX Archive  |

Re: Command see has an anormal behavior

From: Elizabeth D. Rather <erather_at_forth.com>
Date: Mon, 26 Nov 2001 17:10:02 -0800

As Bob notes, SEE is inappropriate with variables, because its purpose is=20
to display the executable code associated with a definition. It sort-of=20
works with a variable compiled from a file: it displays the correct code,=20
something like 4021BF ( (CREATE) ) CALL, but then continues on=20
inappropriately because it's looking for a suitable "definition" ending=20
which isn't there (only the one instruction). On variables defined on the=
=20
command line it is definitely misbehaving, which we'll try to fix at some=20
point.

See the SwiftForth Reference Manual Section 2.4.5.3 regarding the use of=20
WATCH, or just use:

<variable-name> ?

to display its current value. Or tell us more about what you were trying=20
to do...

Cheers,
Elizabeth

At 11:52 AM 11/26/01 -0800, you wrote:

>It looks like 'see' only properly displays colon-compiled words. Use watch
>to examine a memory location such as a variable.
>
>Il me semble que le mot 'SEE' montre correctement seulement les mots=
 d=E9fin=E9s
>en utilisant le mot ":". Empoyez WATCH pour regarder le memoire d'un
>variable comme celui-ci dessous:
>
>variable vitesse
>vitesse watch
>
>When I use SEE on a declared variable, I get an infinitely looping report
>dump, not a series of question marks. Tr=E8s curieux, =E7a...
>
>Bob D.
>
>----- Original Message -----
>From: "Schmitt Louis Jean-Pierre" <louis.schmitt_at_eif.ch>
>To: <sftalk_at_forth.com>
>Sent: Monday, November 26, 2001 10:27 AM
>Subject: [sftalk] Command see has an anormal behavior
>
>
> >
> >
> >
> > Step 1 ) Declare Variable For exemple VARIABLE VITESSE
> > Step 2 ) Use commande see For exemple SEE VITESSE and see the screen
> >
> >
> > ?????????????????????
> > ----------------------------------------------------------------------
> > 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.
> >
>
>----------------------------------------------------------------------
>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.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc. +1 310-491-3356
5155 W. Rosecrans Ave. #1018 Fax: +1 310-978-9454
Hawthorne, CA 90250
http://www.forth.com

"Forth-based products and Services for real-time
applications since 1973."
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

----------------------------------------------------------------------
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 Mon Nov 26 2001 - 17:11:56 PST

This archive was generated by hypermail 2.2.0 : Sat Nov 22 2008 - 03:04:20 PST