$list = @()
function add-Tupple
{
$index = $list.count
$global:list += 1
$global:list[$index] = $args
}
add-Tupple 'Ps' 'has object pipelines'
add-Tupple 'Python' 'has natural nested datastructures'
$list.count
foreach ($item in $list)
{
$code, $name = $item
"Code: $code"
"Name: $name"
}
# in python (('Ps', 'has object pipelines'), ('Python', 'has natural nested datastructures'))
Pure Capsaicin at Spiceworks!
vor 8 Monaten
It is exactly the same (Unless I'm missing something)
AntwortenLöschen(('ps', 'has object pipelines'),('Python AND ps', 'have natural nested datastructures'))
Thanks it was my fault.
AntwortenLöschen