![]() |
ksh array
I am currently creating a ksh script with an array.
I was wondering if it was some how possible to call an element of an array with a variable: e.g something like this, but not this as it does not work: :
echo ${array_varible[$x]}:
echo ${array_varible[1]}hush |
try:
:
let i=0 |
word up.
that works like a dream. nice one. i was trying to use it in a while loop as well. |
| All times are GMT -5. The time now is 8:06 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC