Maximum length of variable?

Richard Kreiss rkreiss at verizon.net
Sun Mar 30 17:00:10 PDT 2014


I think he was asking the maximum length of a field not the number of fields

The 5.7 documents only show that an  undefined dummy field length:
	1. Used in a calculation - 256 characters
	2. With a string - 128 characters.

I did not note any mention of a maximum field size in the documents.

I tried to see if I could get filePro to give me an error in auto processing

 qq(10000000,*)

Passed the syntax test and then did not kick up an error in rclerk.

Tested in both 5.6 & 5.7 Windows.

I would have expected if the field size is too large.  

When I ran IUA of the file, I received an out of memory error

If I change the size to qq(500000,*)  at run time I don't get the out of
memory error.  However with the debugger len(qq)= 19264   and dlen(qq)=4095.

I am sure Ken can answer this question quickly.

Richard




> -----Original Message-----
> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com
> [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On
> Behalf Of Fairlight
> Sent: Sunday, March 30, 2014 5:30 PM
> To: filepro-list at lists.celestial.com
> Subject: Re: Maximun length of variable?
> 
> Short version:
> 
> Real (non-memo/blob) fields:  999
> Dummy fields/variables:  32767  (one byte shy of 32KB)
> 
> But Ken's right, you should look it up.  Maybe 5.7 changed some limits,
but I
> doubt it.  fP is highly change-resistant.  The sizes I gave were valid in
5.0.x, for
> which docs may not even be available anymore.
> 
> mark->
> 
> On Mon, Mar 31, 2014 at 08:00:29AM +1100, Ken Cole thus spoke:
> > Del,
> >
> > All size restrictions are included in the online documentation on the
> > fptech website.
> >
> > Ken
> >
> > On Monday, 31 March 2014, Del <neroni3000 at comcast.net> wrote:
> >
> > > Hi:
> > >
> > > I am working on a program I did not write.  There are lots of errors
> > > that I have been asked to correct.
> > > At one point in an output process, a variable "Z" is used with no
> > > length or edit type.
> > > It is basically used as a bucket to build a string of text
> > > characters and print output control characters prior to generating
> > > an output string in an EXPORT process.
> > > Because of the way this is built, using repetitive looping, it has
> > > the potential to get very long.
> > > Does anybody know if there is a length limitation in filePro for
> > > such a text string?
> > > I am concerned that at some point it could exceed a length
> > > limitation, and I seem to recall reading something about that at
> > > some point, but I can no longer remember where.
> > >
> > > Del Neroni
> > > -------------- next part -------------- An HTML attachment was
> > > scrubbed...
> > > URL:
> > > http://mailman.celestial.com/pipermail/filepro-list/attachments/2014
> > > 0330/f6cc1e62/attachment.html
> > > _______________________________________________
> > > Filepro-list mailing list
> > > Filepro-list at lists.celestial.com <javascript:;>
> > > Subscribe/Unsubscribe/Subscription Changes
> > > http://mailman.celestial.com/mailman/listinfo/filepro-list
> > >
> > -------------- next part -------------- An HTML attachment was
> > scrubbed...
> > URL:
> > http://mailman.celestial.com/pipermail/filepro-list/attachments/201403
> > 31/26190c19/attachment.html
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > Subscribe/Unsubscribe/Subscription Changes
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> 
> --
> Audio panton, cogito singularis.
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list