[futurebasic] Re: [FB] Give me a constant, any constant

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Mon, 22 Nov 1999 09:38:59 -0600
>     Long ago I noticed that some constant names seem to be used in more than
>one location for more than one purpose.
>     For example, the "_size" constant is listed in the FB^3 on-line help
>section eight (8) times.  Each of these listings "says" that _size has a
>different value (36, 70, 22, 284, 4, 8, 0 & 14).
>     I've just gotten into the habit of using a hard-coded number when a
>constant that should work instead turns out to be incorrect.  I have 
>to believe
>that I'm missing something.  There has to be an aspect of this that is so
>obvious that no one has ever bothered to explain it, but that I just 
>haven't grasped.

FB^3 now uses true records so that you can reuse the same item in 
several records. However, the old style constants (tho some are 
actually incorrect) need to remain in place for people converting old 
FBII programs.


-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...