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

Home » Public Forums » archive » Re: Most Common IDL Programming Errors
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: Most Common IDL Programming Errors [message #59804 is a reply to message #59753] Thu, 10 April 2008 02:22 Go to previous messageGo to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
Peter Mason wrote:
> Forgetting to use "reform" - stumbling on an unwanted array dimension of 1
> that's left after pulling out an array subset. (Actually I don't know if
> this one's still there. I'm a bit behind the times maybe.)

Also array related: scalars are not the same as arrays of size one, e.g.

PRINT, BYTE( 'test') eq BYTE( 'e')

vs what you really wanted:

PRINT, BYTE( 'test') eq (BYTE( 'e'))[0]


chl
[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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Reading HTML (web) page through socket
Next Topic: Re: delvar, all

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

Current Time: Thu Oct 09 15:00:34 PDT 2025

Total time taken to generate the page: 2.42056 seconds