another newbie bug...

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

another newbie bug...

Chip Davis-4
I know, I know...

Only a doofus would try this, but shouldn't the compiler catch it?

-Chip-

[N:\nrx]type padtst.nrx
say "EOF".left(5,'--')

[N:\nrx]nrc padtst
NetRexx portable processor, version 1.130
Copyright (c) IBM Corporation, 1998.  All rights reserved.
Program padtst.nrx
Compilation of 'padtst.nrx' successful

[N:\nrx]java -fullversion
JAVA.EXE full version "JDK 1.1.4 IBM build o114-19980319"

[N:\nrx]java padtst
netrexx.lang.NotCharacterException: --
        at netrexx.lang.Rexx.padcheck(Compiled Code)
        at netrexx.lang.Rexx.substr(Compiled Code)
        at netrexx.lang.Rexx.left(Compiled Code)
        at padtst.main(Compiled Code)

[N:\nrx]



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>