I think Jack Kerkhof wrote: > hi all, > > What would the Jess syntax be for the following java code snippet: > > String[] x = new String[2]; > x[0] = "hi "; > x[1] = "there"; > System.out.println(x[0]+x[1]); > > Jack > Well, I'm not sure what you're after, exactly. (bind ?x (create$ "hi " "there")) (printout t (str-cat (nth$ 1 ?x) (nth$ 2 ?x)) crlf) is one way to interpret your request, but that's probably not what you're looking for. Can you rephrase the question? --------------------------------------------------------- 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] --------------------------------------------------------------------
