[SOLVED] information about a variable - or - blind man urgently seeks ophthalmologist or optician
Posted
#1
(In Topic #621)
Enthusiast

ok … i know i didn't see a tree in the woods …
my problem is:
i iterate trough and get (in sProp) a string value starting with ":" (Events), "$" (Private), "_" (Hidden) or 'nothing' (Var) and i'm fine with that.
with i get the current value … ok nice but what i have to do to get for example the typeof the variable … means what to do to get the object(?) from a string value?
Posted
Guru

Code (gambas)
- Setup
- ValueBox1_Change()
- TextArea1.Clear
- .Arrangement = Arrange.Vertical
- .H = 300
- .W = 500
- .Padding = 5
- .Text = "Change the value, use Integer, Float and Long"
- .H = 28
- .W = 100
- .H = 50
- .W = 50
Posted
Enthusiast

Posted
Guru

PJBlack said
FMain["ValueBox1"]
also
Me.Window.Controls["ValueBox1"]
Posted
Enthusiast

give NULL
EDIT:
sometimes it's hard not to be an native english speaker :roll:
to be more detailed … i have
and i would like to have "sProp" converted back to something that i can use further
Posted
Guru

PJBlack said
thanks bruce but
give NULL
EDIT:
sometimes it's hard not to be an native english speaker :roll:
to be more detailed … i have
and i would like to have "sProp" converted back to something that i can use further
You said Object.
that's not an Object that's a Variable.
Posted
Guru

BruceSteers said
PJBlack said
thanks bruce but
EDIT:
sometimes it's hard not to be an native english speaker :roll:
You said Object.
that's not an Object that's a Variable.
I'm not sure if speaking English helps ,
in that last statement I "Objected" to you saying "Object" ?!?
2 same words with completely different meaning?? it makes no sense at all !!
English can be crazy
Posted
Guru

<EMOJI seq="1f609" tseq="1f609">π</EMOJI>
<EMOJI seq="1f607" tseq="1f607">π</EMOJI>
Posted
Enthusiast

BruceSteers said
You said Object.
that's not an Object that's a Variable.
isn't in OOP everything an object ???
BruceSteers said
crazy … how smart things work if they done right … :roll:
BruceSteers said
Did I help a blind man see the light?
<EMOJI seq="1f609" tseq="1f609">π</EMOJI>
<EMOJI seq="1f607" tseq="1f607">π</EMOJI>
ah bruce … what would I do without you?
it looks like my brain memory capacity is no longer sufficient to store more than three things …
I knew it was that simple… and I've used this before… but unfortunately it seems to have fallen victim to my dementia/stupidity.
so many thanks to you bruce but also to charlie (i'll add steve here), always quick replies and VERY helpful !!!!
i'm off to search the forest among the trees with my 2ΒΌ dogs
Posted
Guru

PJBlack said
BruceSteers said
You said Object.
that's not an Object that's a Variable.
isn't in OOP everything an object ???
BruceSteers said
crazy … how smart things work if they done right … :roll:
BruceSteers said
Did I help a blind man see the light?
<EMOJI seq="1f609" tseq="1f609">π</EMOJI>
<EMOJI seq="1f607" tseq="1f607">π</EMOJI>
ah bruce … what would I do without you?
it looks like my brain memory capacity is no longer sufficient to store more than three things …
I knew it was that simple… and I've used this before… but unfortunately it seems to have fallen victim to my dementia/stupidity.
so many thanks to you bruce but also to charlie (i'll add steve here), always quick replies and VERY helpful !!!!
i'm off to search the forest among the trees with my 2ΒΌ dogs
whoop whoop
Gonna have to say OOP is only "orientated" like Objects but no. Ask the wrong questions get the wrong answers ,hehe
I'm sure you would have figured it out
Happy to help dude
1 guest and 0 members have just viewed this.



