Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-14 Thread TPellitieri
Date: Thu, 14 Oct 2004 09:49:24 +1000 From: Craig Bennett [EMAIL PROTECTED] Cant it be read ONCE and put into one (or more) named common variables? I could do that, but I am trying to have the data cached by a process (object loaded) without having to read the data. I don't remember if

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-14 Thread Craig Bennett
PCPERFORM lp -d :QUEUE: :FONTFILE CAPTURING MSG Thanks for the suggestion Tom, but I'm generating PDF files and embedding the fonts before writing to disk, so this doesn't really apply. I think I may just have to split the data into multiple subroutines. Craig --- u2-users mailing list

RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-13 Thread Dennis Bartlett
- From: Craig Bennett [mailto:[EMAIL PROTECTED] Sent: Tuesday, 12 October, 2004 11:54 AM To: [EMAIL PROTECTED] Subject: Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? thats depressing

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-13 Thread Craig Bennett
Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? I just reread the first few chapter of the UniData basic manuals and there it was. Could you tell me the maximum line length in a UniData basic program? thanks, Craig --- u2-users mailing list

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-13 Thread Craig Bennett
Hi ennis, Cant it be read ONCE and put into one (or more) named common variables? I could do that, but I am trying to have the data cached by a process (object loaded) without having to read the data. This works nicely on UV and has the advantage that you can load the program into shared

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Hi Wally, 32765 is the limit for contants. No, it is not configurable. Time for a subroutine? thats depressing, this IS a subroutine. I have a large amount of text in need to include in the program object which I would STRONGLY prefer not read from disk. There is a maximum line length too isn't

Re: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Craig Bennett
Some of our software converts Adobe Type 1 font programs into BASIC programs and we have an issue on some larger fonts where I cannot fit the data from the font into the program because of the limit on the number of constants and the limit on line length. When you say: Is there any way to

RE: [U2] [UD] BASIC COMPILE ERROR: Too many constants near line

2004-10-12 Thread Stuart Boydell
Here's a dumb question but what is a constant? Do you mean an EQUate? I was dumbly wondering too so I downloaded the manual: A constant can be a numeric value, such as 25, or a string value, such as inventory. You must use quotation marks to enclose string values. You can use up to 32,765