What's Wrong With This IF

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

What's Wrong With This IF

Joe McVerry-4
The compiler doesn't like my use of the IF statement.  What am I doing
wrong?

NetRexx portable processor, version 1.121
Copyright (c) IBM Corporation, 1997.  All rights reserved.
Program ren.nrx
    function main(String[])
 28 +++   if b[p] = 'm'
    +++   ^^
    +++ Error: Unexpected use of local variable

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Joe McVerry
mailto:[hidden email]
mailto:[hidden email]
http://www.americancoders.com/
American Coders, Ltd.         P.O.Box 97462        Raleigh NC 27624 USA
1-919-846-2014
Home of RexxBase - (dBase Access for Rexx)
Home of xBaseJ - (dBase Access for JAVA)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>