embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: Conditional compilation

From: Leon Wagner <leon_at_forth.com>
Date: Mon, 17 Nov 2003 10:30:40 -0800

It works fine here. What scope did you have selected when the failure
occurs? Remember that if you're inside some assembler (CODE or LABEL), 0=
does something else.

> -----Original Message-----
> From: swiftx-bounce_at_forth.com [mailto:swiftx-bounce_at_forth.com]On Behalf
> Of David Graham
> Sent: Monday, November 17, 2003 8:23 AM
> To: swiftx_at_forth.com
> Subject: [swiftx] Conditional compilation
>
>
> I am using SwiftX 3.1.13 for the HC12. Why would the following [IF]
> statements generate "[IF] Stack Empty" messages:
>
> -1 EQU BARRVER
> BarrVer [IF] 1 [THEN]
> BarrVer 0= [IF] 0 [THEN]
>
> (These are simplified versions from different sections of code, so I
> can't use the [ELSE] construction.)
>
> The statement,
>
> BARRVer [IF] 5 [ELSE] 6 [THEN]
>
> occurs earlier in my code, and it compiles fine.
>
> David Graham
> Graham Automation Inc
>
>
> ----------------------------------------------------------------------
> swiftx_at_forth.com The SwiftX programming discussion email list
> To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
> For list command help, send subject "help" to swiftx-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/swiftx
> ----------------------------------------------------------------------
> This list is a forum for SwiftX users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Nov 17 2003 - 10:36:53 PST

This archive was generated by hypermail 2.2.0 : Mon Dec 01 2008 - 03:04:48 PST