× 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 Barbara, Kurt,

I'm probably all wet (it's raining here in SoCal! what happened to our
drought!?), but at one point in this thread I had the impression constants
were desired in a qualified data structure not so much for passing as a
read-only parameter, but to make the program more readable by having the
data structure name indicate the context for the constant, and the constant
subfield name would indicate the value.  As in Joe Lee's example:

DayOfWeek     DS                 Qualified Const
 Sunday                                 Const(1)
 Monday                                Const(2)
 Tuesday                               Const(3)
 Wednesday                          Const(4)
 Thursday                              Const(5)
 Friday                                   Const(6)
 Saturday                              Const(7)

 /Free
  Select;
   When  today = DayOfWeek.Sunday;
   When  today = DayOfWeek.Saturday;
  EndSl;


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



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.7 - Release Date: 12/30/2004



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.