Thanks for the clarification. No big problem actually. I'm quite confident that the brilliant team will complete the language as soon as possible. -mb On Sep 3, 2005, at 7:49 PM, Adam R. Tindale wrote:
Hi,
Right now string operations are quite limited. You can't cast strings, as mentioned in an earlier post, and you can't concatenate strings. Right now strings are stored as object references. You can make this work:
if (s==s)<<<"yes">>>;
But that isn't very useful.
String operations have become a popular item in demand and I think it is on the queue for development.
I know this isn't a satisfactory answer but most of the dev team is in Europe for ICMC and I thought I would try to give you an answer in the interim.
--art
On Sep 3, 2005, at 1:26 AM, Manfred Brockhaus wrote:
I'm trying to check strings for equality but the following doesn't work
"abc" => string s; if(s=="abc"){<<<"yes">>>;}
-mb
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users
_______________________________________________ chuck-users mailing list chuck-users@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-users