× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Bill,

Hans already answered the data structure array part, so I'll just note that
you could replace your SELECT code with

    if    SSCTRY = CC
        eval Z = 1 + (SSFY - YY) * 12
    endif

You don't show any code to set Z if SSCTRY <> CC or SSFY > (YY + 3), so I
assume either you do that elsewhere, or the values you are dealing with
would never cause that situation.

hth,
Peter Dow
Dow Software Services, Inc.
909 793-9050 voice
909 793-4480 fax
909 522-3214 cell

From: "Bill Hopkins"
<snip>
> Later in Code
>
> C                   Select
>  *
> C                   When      SSCTRY    = CC and
> C                             SSFY      = YY
> C                   Eval      Z         = 1
>  *
> C                   When      SSCTRY    = CC and
> C                             SSFY      = YY + 1
> C                   Eval      Z         = 13
>  *
> C                   When      SSCTRY    = CC and
> C                             SSFY      = YY + 2
> C                   Eval      Z         = 25
>  *
> C                   When      SSCTRY    = CC and
> C                             SSFY      = YY + 3
> C                   Eval      Z         = 37
>  *
> C                   Endsl

<snip>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/15/2003



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.