1. Re: object to integer
On Tue, 15 Feb 2000 12:15:36 -0600, Paul Sheepwash wrote:
>HEEEELLLLLPPPPPP
>
> The eternal newbie here. . . lol how do I convert an object to an
>integer? I am telling a program to repeat a system command x amount of
>times but the for statement requires an integer and the get_attrib
>statement requires an object.. . .
If your object is an atom, you can assign it to an integer variable as long
as it will fit (make it an integer by using 'floor' and maybe check the
size). Typically, though you don't want to be messing with a for loop
variable. You should probably declare a different variable for what you
want to do (I'm not entirely sure what you are trying to do... maybe you
could post a little code?)
-- Brian