🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #86

Re: More information about the Shape language?

#86
From: David Foulser
Date: Mon, 17 Aug 1992 18:44
17 lines
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 
Technical Details
Message-ID: <1992Aug17.184410.21264@odin.corp.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!odin!homebrew.asd.sgi.com!foulser
References: <1992Aug17.143209.14091@mnemosyne.cs.du.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.explorer
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!odin!homebrew.asd.sgi.com!foulser
From: foulser@homebrew.asd.sgi.com (David Foulser)
Subject: Re: More information about the Shape language?
Message-ID: <1992Aug17.184410.21264@odin.corp.sgi.com>
Sender: news@odin.corp.sgi.com (Net News)
Nntp-Posting-Host: homebrew.asd.sgi.com
Reply-To: foulser@homebrew.asd.sgi.com (David Foulser)
Organization: sgi
References:  <1992Aug17.143209.14091@mnemosyne.cs.du.edu>
Date: Mon, 17 Aug 1992 18:44:10 GMT
Lines: 17