set element = $argv[1] shift @ i = 1 while ($i <= $#argv) if ($argv[$i] == $element) then exit($i) else @ i++ endif end
- Friday
- April 4th, 2025
- Ajouter un cours
set element = $argv[1] shift @ i = 1 while ($i <= $#argv) if ($argv[$i] == $element) then exit($i) else @ i++ endif end