I trace trace(user.getVariable(USERVAR_X));
and I get this
[UVar: x, type: Double, value: 80.55]
I want to use "value: 80.55"
so I put user.getVariable(USERVAR_X).type I get Double but when I put
user.getVariable(USERVAR_X).value I get and error.
anyway to get value: 80.55?
[UVar: x, type: Double, value: 80.55] How to use value?
-
Fantasticx
- Posts: 17
- Joined: 14 Aug 2011, 05:02
- Contact:
-
jamalsoueidan
- Posts: 153
- Joined: 15 Aug 2011, 16:33
user.getVariable(USERVAR_X)..getDoubleValue()

you first get the variable by key and then tell sfsx2 what type you want to receive...
you first get the variable by key and then tell sfsx2 what type you want to receive...
---------------------------------------------------
Jamal Soueidan
http://linkedin.com/in/jamalsoueidan
Jamal Soueidan
http://linkedin.com/in/jamalsoueidan
-
Fantasticx
- Posts: 17
- Joined: 14 Aug 2011, 05:02
- Contact:
-
Fantasticx
- Posts: 17
- Joined: 14 Aug 2011, 05:02
- Contact:
-
jamalsoueidan
- Posts: 153
- Joined: 15 Aug 2011, 16:33
This is one of the great thing that SFS2X offers... 
Fast support
Fast support
---------------------------------------------------
Jamal Soueidan
http://linkedin.com/in/jamalsoueidan
Jamal Soueidan
http://linkedin.com/in/jamalsoueidan