Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

array of negative integers.

array of negative integers.

Anonymous
Not applicable
485 Views
1 Reply
Message 1 of 2

array of negative integers.

Anonymous
Not applicable

-- as per:

-- a = #(-1,-1,-1)

--print a

--yields:

--1

--1

--1

--'s

 

Is there a way to negate? The negative portion seems ignored in my experiment to the listening console.

 

Thx!

0 Likes
Accepted solutions (1)
486 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution
a = #(-1,-1,-1)
print a

produces the following output:

-1
-1
-1

So not sure what your problem is.

 

And what's with the minus signs at the beginning of each line of your posts?!

0 Likes