comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » wrapper functions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: wrapper functions [message #50626 is a reply to message #50504] Fri, 06 October 2006 09:16 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"David Fanning" <davidf@dfanning.com> wrote in message
news:MPG.1f902b0dc19bcb4b989d0a@news.frii.com...
...
> When I wrote that statement I realized it was totally
> out of character for me (I am normally EXTREMELY anal
> when it comes to programming). But, honestly, who
> passes an R vector without a G and B? Absolutely
> no one.

I agree with that statement, if a user knows it is R G and B,
but a user can misuse/misunderstand/confuse with another function/
use the function in a different way/etc, and pass a different array into R.

For instance:
> READ_PICT_WRAPPER, Filename, Image, x,y
and then
> contour, Image, x,y

or
> READ_PICT_WRAPPER, Filename, Image, time
> READ_PICT_WRAPPER, Filename, Image, image_info

or as you alluded to:
> READ_PICT_WRAPPER, Filename, Image, palette

And, a user may decide that they are going to secretly encode
data into just the red component, store different
info in the green component, and ignore the blue component.

And this does not even address malicious users (if you write
an application for a company, and they have low wage workers
using it, then if they can break the computer they get a day off work.yay!)


Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: .compile_opt strictarr is persistent?
Next Topic: Re: call_procedure with a dynamically created arguments list?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 02:44:49 PDT 2025

Total time taken to generate the page: 0.72136 seconds