Long j=(Long)conn.k(“v”);
check if exists with x in key`.
e.g.
Long j=(Long)c.k(“{$[x in key.;value x;0N]}
v”);
here return 0N if it doesn’t exist in root namespace
ahhh thanks, I just tested this in the console and it worked!
btw, in:
(Long)c.k(“…”);
did you mean “conn” instead of c? thats what I have my c object named as.
cheers
On Thursday, October 10, 2013 8:11:53 PM UTC+1, Charles Skelton wrote:
check if exists with x in key`.
e.g.Long j=(Long)c.k(“{$[x in key
.;value x;0N]}
v”);here return 0N if it doesn’t exist in root namespace
yes, sorry.
I set j as an instance of the “Object” class so it works on variables that are other data types, not just ints.
It prints out single characters, but i set a:“test”, it returns a memory address, do you know how I fix this?
see method t in c.java
public static int t(Object x)
returns the k datatype for that object