Page 1 of 1
expand As
Posted: Fri Apr 22, 2016 11:58 am
by gurj
expand As
Example:
Code: Select all
a=3
For n=0 To 99
b=Random(3)
If b=a:a As b:Break
EndIf
Next
a=12
Debug b;=12
b=4
Debug a;=4
Re: expand As
Posted: Fri Apr 22, 2016 5:26 pm
by Keya
could you describe in more detail what you mean?
your code only makes sense to me when i remove the "a As b" to become "If b=a: Break: EndIf", so call me stupid but I can't actually see what "a As b" is meant to do!? Im guessing its not a typecast.
Re: expand As
Posted: Sat Apr 23, 2016 4:16 am
by gurj
sorry,is a hope
another name relatively,a and b by As
Re: expand As
Posted: Sat Apr 23, 2016 5:00 am
by Demivec
@:Keya: I think he means a type of aliasing or an equivalence of some sort.