2011/11/5 Alexander <[email protected]>:
> print("result: #{result}") # result: ["param1", "param2", "param3"]
> print("result: #{result["0"]}") # error: "this value has type int but it
To access the Nth element of a list L you should use list.nth(L,N).
(FYI, result["0"] would be for getting the value associated with "0"
in an association list, for example result = [ ("0","foo"), ... ].)
Have fun,
David
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users