On Thu, 22 Oct 2015 18:27:22 +0200
Fabien Bodard wrote:
> 2015-10-22 15:48 GMT+02:00 Jussi Lahtinen :
> > Maybe you could use Point datatype, it does use compare method.
> >
> > So you can compare them like this:
> >
> > If hFirstPoint = hSecondPoint Then
> >
> >
> >
> > Jussi
>
> Jussi is true,
2015-10-22 15:48 GMT+02:00 Jussi Lahtinen :
> Maybe you could use Point datatype, it does use compare method.
>
> So you can compare them like this:
>
> If hFirstPoint = hSecondPoint Then
>
>
>
> Jussi
Jussi is true, for your idea it's maybe better than an array.
>
> On Thu, Oct 22, 2015 at 6:41
Maybe you could use Point datatype, it does use compare method.
So you can compare them like this:
If hFirstPoint = hSecondPoint Then
Jussi
On Thu, Oct 22, 2015 at 6:41 AM, adamn...@gmail.com
wrote:
> On Wed, 21 Oct 2015 22:54:48 +0300
> Jussi Lahtinen wrote:
>
> > Your original question h
Le 22 oct. 2015 05:43, "adamn...@gmail.com" a écrit :
>
> On Wed, 21 Oct 2015 22:54:48 +0300
> Jussi Lahtinen wrote:
>
> > Your original question hinted at 2D arrays, but [0, 0] is one
dimensional
> > array with two values.
> > So, in other words you would like quick way to check first two values
On Wed, 21 Oct 2015 22:54:48 +0300
Jussi Lahtinen wrote:
> Your original question hinted at 2D arrays, but [0, 0] is one dimensional
> array with two values.
> So, in other words you would like quick way to check first two values of
> the array?
and that its length is 2.
>
> I think this is th
Your original question hinted at 2D arrays, but [0, 0] is one dimensional
array with two values.
So, in other words you would like quick way to check first two values of
the array?
I think this is the simplest:
If myArray[0] = 0 And If myArray[1] = 0 Then
However, why you need an array for only
The value, I need to know if the user has changed the default value from [0,0]
to something else. [0,0] is a special case and I just thought that maybe there
was a quick way to check it that I didn't know of.
cheers
bruce
On Wed, 21 Oct 2015 15:30:28 +0300
Jussi Lahtinen wrote:
> I don't get
...or object reference?
Jussi
On Wed, Oct 21, 2015 at 4:17 PM, Fabien Bodard wrote:
> well after a quick re read it seem i've not understand the question
> myself. Sorry for the wrong answer.
>
> But at least tell us what you want to compare ... the entry value or
> the array size ?
>
> 2015-1
well after a quick re read it seem i've not understand the question
myself. Sorry for the wrong answer.
But at least tell us what you want to compare ... the entry value or
the array size ?
2015-10-21 14:30 GMT+02:00 Jussi Lahtinen :
> I don't get what you mean... do you want to test array bounds
I don't get what you mean... do you want to test array bounds, or value,
or..?
Jussi
On Wed, Oct 21, 2015 at 4:12 AM, adamn...@gmail.com
wrote:
> If anyone is awake.
>
> Can I test that an integer array of the form (x,y) is equal to [0,0]
> simply? In other words
>
> Dim MyDimensions as Int
You can try with an multi object style :
Dim MyArray as integer[][] = [[1],[2]]
Print MyArray[0][0] '=1
Print "X=" & MyArray.Count '=2
Print "Y=" & MyArray[0].Count '=1
2015-10-21 3:30 GMT+02:00 adamn...@gmail.com :
> On Wed, 21 Oct 2015 11:42:59 +1030
> "adamn...@gmail.com" wrote:
>
>> If
On Wed, 21 Oct 2015 11:42:59 +1030
"adamn...@gmail.com" wrote:
> If anyone is awake.
>
> Can I test that an integer array of the form (x,y) is equal to [0,0] simply?
> In other words
>
> Dim MyDimensions as Integer[]=[0,0]
> (some user stuff happens)
> If MyDimensions=[0,0} then ...
>
>
12 matches
Mail list logo