setting params when you define a dummy variable?

Mike Schwartz mike.appleton.wi at sbcglobal.net
Tue Apr 12 09:33:45 PDT 2005


     I have been doing some programming for a customer who usually doesn't
put any length or edit type on their dummy variables.  For example:

 

Ky="Smith" or ky="10" * xy

 

Instead of:

 

Ky(30,*)="Smith" or ky(15,.0)="10" * xy

 

     There are a few places where they set the length or use an edit, such
as

 

Input qu(1,yesno) "Yes or no?"

 

 

     I thought there were some downsides to not setting a length or edit
type, like extra RAM memory wasted.  This is probably a "Ken Brody" question
and maybe even a good topic for the filePro room tonight, but are there any
other reasons why it might be good or bad not to put edit types on dummy
variables? 

 

     For example, on math variables, I usually like to control the
precision, because I may be displaying or printing the variable later.  

 

Thanks!

 

Mike Schwartz

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20050412/b240cea5/attachment.html


More information about the Filepro-list mailing list