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

Home » Public Forums » archive » Efficient pattern-matching in a large array
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: Efficient pattern-matching in a large array [message #77173 is a reply to message #77061] Fri, 12 August 2011 07:38 Go to previous messageGo to previous message
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
On Aug 12, 8:18 am, SpinMan <ez5...@gmail.com> wrote:
> Lajos,
> can you explain the line:
>
> larr=fix(barr, j, j eq 0 ? n/8 : n/8-1, type=15)
>
> it looks like you're trying to form the ULONG64 but the ? and : are tripping me up.
>
> Thanks,
> Sam

Sam,

Lajos is using a Conditional Expression. Its listed in the help under
Other Expressions. IF j EQ 0 THEN the value is n/8 ELSE the value is
n/8-1.

-B
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: /RELAXED keyword not allowed?
Next Topic: Confession

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

Current Time: Sat Oct 18 13:44:54 PDT 2025

Total time taken to generate the page: 1.11821 seconds