#1 08 Dec 2010 15:11

arenas
Member
Registered: 01 May 2009
Posts: 11

Table [x,y]

hello smile

pls how i can fond out ths [x,y] position in the table?

$id = "2"

$dixieme = new-object 'int32[,]'6,19
$dixieme[0,0]=00
$dixieme[0,1]=01
$dixieme[0,2]=02
$dixieme[0,3]=03


$test4 = $dixieme | where-object {$_ -eq [int]$id}
$test4

result  is 2

but how is [0,2] ?

my best regard
@

Offline

Board footer

Powered by FluxBB