Title: RE: JESS: Who cares about chars?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why have it return an int instead of a char like the java.lang.String.charAt() method does?  Also, with a method name like "charAt", I would intuitively expect a char type to be returned.


- -Bryan


>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]
>Sent: Friday, January 04, 2002 4:07 AM
>To: Jess Mailing List
>Subject: JESS: Who cares about chars?
>
>
>
>Currently, Jess maps Java char values onto Jess Strings; i.e.,
>the result of (call "foo" charAt 0) is "f". I'm starting to
>think that this is the wrong mapping -- a Jess integer would
>make more sense (i.e., 102.) Does anybody have an opinion, one
>way or the other?
>
>---------------------------------------------------------
>Ernest Friedman-Hill 
>Distributed Systems Research        Phone: (925) 294-2154
>Sandia National Labs                FAX:   (925) 294-2234
>Org. 8920, MS 9012                  [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 (use your own address!)
>List problems? Notify [EMAIL PROTECTED]
>--------------------------------------------------------------------
>

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.2

iQA/AwUBPDYU0kzuKKcxAa+OEQJ8NACgsjAOO+SdIS05Wsqk1Q0j1WV81yoAniYF
oGaGH0XxpK1aT+XpqUmOdMaD
=tKQI
-----END PGP SIGNATURE-----

Reply via email to