I'm not sure where printf would come out - I had thought the message window. Use DXMessage and it'll sure come out there.
You need to figure out the index of the position you want to invalidate and
then use DXSetElementInvalid. If your grid is XxYxZ
and you want to invalidate (x,y,z), the index is x*(Y*Z) + y*Z + z.
"Wyn Williams"
<[EMAIL PROTECTED]> To:
[email protected]
Sent by: cc:
[EMAIL PROTECTED] Subject: [opendx-dev] newbie
question.. where does the standard output
son.ibm.com (printf) go ? + data
invalidation
08/21/2002 06:06 AM
Please respond to
opendx-dev
I am struggling to build some DX modules. I have two questions :
1) If I write a printf statement to look at some parameters, where
does the output go. It doesn't go to standard output, and it doesn't
go to the 'message' window' if I attach a 'print' module.
So.. how do I print out parameters of my code ?..
2) I have a regular grid of positions (and connections), and I want to
invalidate some of these positions. So say I have a 3D regular grid
of positions, say 100x 100x100. How do I invalidate position (20,35,
40), for example ? There doesn't seem to be a way of locating this
point in a regular grid to invalidate it ?
Any help would be appreciated.
Thanks
Wyn
