Thread View: comp.graphics.explorer
2 messages
2 total messages
Started by Rafal Maszkowski
Mon, 17 Aug 1992 14:32
More information about the Shape language?
Author: Rafal Maszkowski
Date: Mon, 17 Aug 1992 14:32
Date: Mon, 17 Aug 1992 14:32
11 lines
850 bytes
850 bytes
I I need more information concerning the Shape. The manual on it is quite short. I do not see any information about the error messages. They are very mysterious. How can I change only one value in a table? I tried with subshape but indexing seems to not to work with variables. I would like to fill the table with values of certain function. Is a double (triple) for loop the best way to do it? Rafal Maszkowski
Re: More information about the Shape language?
Author: David Foulser
Date: Mon, 17 Aug 1992 18:44
Date: Mon, 17 Aug 1992 18:44
17 lines
1171 bytes
1171 bytes
subshape( lo, hi, array ) = values; is the best way to fill an array. Doing it with a double/triple loop will be very inefficient. You'll need to make sure that your left and right hand sides of the previous assignment statement are compatibly sized, which you can do by trying write(shape(values)); write(shape(subshape( lo, hi, array ))); Dave - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David Foulser foulser@sgi.com MS 7U-545 Silicon Graphics, Inc 415/390-5338 2011 N. Shoreline Blvd. 415/969-6412 FAX Mountain View, CA 94039-7311
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads