Interesting... some weird parser thing, I'll have a look when I have
time. For now, realize that this is an abberation due to the
(implicit) conversion from a Jess 'string' to a java.lang.String
object. By making the String explicit, you can make the problem go
away:
(call (new java.lang.String "+HAHAHA") toLowerCase)
I think alan littleford wrote:
>
> I'm using Jess 4.1 and am a confused newbie:
>
> Jess> (call "HAHAHA" toLowerCase)
> "hahaha"
>
> Jess> (call "+HAHAHAHA" toLowerCase)
> Rete Exception in routine call.
> Message: Invalid argument to toLowerCase at line 2: ( call
> "+HAHAHAHA" toLowerCase ) .
>
> Since I thought a string was a string was a string the prepended '+'
> should make no difference, right??
>
> Tnx
> Alanl
>
> ---------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the
> list. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
>
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (510) 294-2154
Sandia National Labs FAX: (510) 294-2234
Org. 8920, MS 9214 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------