--
# http://arska.org/hauva/ #
print "Navigare necesse est, vivere non est necesse - Pompeius\n";
> Hi,
> Can I type cast a variable used in scripts, if so how.
> Thanks in advance.
> caroline.c
>> Can I type cast a variable used in scripts, if so how.
> Shell scripts have no types so you have nothing to cast i.e. you can
> handle the same variable both as a number or as a string.
$ typeset -i10 x=0
$ unset y
$ y=0
$ x=x+1
$ y=y+1
$ print "x=$x y=$y"
x=1 y=y+1
--
Dan Mercer
Opinions expressed herein are my own and may not represent those of my employer.
1. ftplib recompile and type casting warning
Hello all,
I've recompiled the ftplib sources for Tru64 but there are some warnings
about type casting...
I'm looking for a make file or someone that has the same problem...
4. Share one keyboard between a PC and a SPARCstation (preferably SPARC keyboard)
5. type conversion (casting ) on AIX4.3 batch compiler
6. where did microsoft.com go?!
7. Turn off type casting errors?
8. ISBN - modem pool Equip. ??
9. HELP-Conflicting types and casting float to NULL errors on GCC 2.7.0 Linux
10. How does one Type Cast Data
11. Acrobat Reader 4.0 MIME Type for Netscape plug-ins
12. Reading a directory and knowing which type of file am I reading
13. can't see what i am typing on linux in Bash!