shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Array no KSH


From: Leonardo
Subject: Array no KSH
Date: Wed, 2 Jun 2004 11:42:42 -0300

Olá pessoal,
 
Estou meio off, mas espero que possam me ajudar.
 
Como declaro uma variável array no KSH?
 
#!/usr/bin/ksh
#
#var=( value1, value2, value3 )
#
#echo ${var[1]}
#
 
Tentei deste modo, mas não é a syntax correta.
ksh: 0403-057 Syntax error: `(' is not expected.
 
Desde já agradeço,
Leonardo


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.693 / Virus Database: 454 - Release Date: 31/05/2004




[As partes desta mensagem que não continham texto foram removidas]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]