[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Dynamic Heading Size
The ASK is something I didn't think about. At any rate, Ray's idea of
computing the extra heading size and then begin printing that much lower
worked nicely. Thanks for the help everyone.
Bob
-----Original Message-----
From: Steve Cavill [mailto:steve.cavill@infoclarity.com.au]
Sent: Tuesday, February 11, 2003 4:17 AM
To: sqr-users@sqrug.org
Subject: RE: [sqr-users] Dynamic Heading Size
Can you use a substitution variable? :
#DEFINE heading_size <integer>
or
ASK heading_size
begin-heading {heading-size}
Steve.
-----Original Message-----
From: sqr-users-admin@sqrug.org [mailto:sqr-users-admin@sqrug.org]On Behalf
Of Bob Helm
Sent: Tuesday, 11 February 2003 1:41 AM
To: 'SQR Users'
Subject: [sqr-users] Dynamic Heading Size
I'm attempting to dynamically define the size of my header in run time. To
do this, in setup I declared an integer variable called #heading_size and
let this follow begin-heading. I initiate the #heading_size and it shows
nicely in #debug. However, I get the following error:
Error in include file "gsh_print_mar.sqr" on line 207:
(SQR 5313) Qualifier 'heading lines' requires a integer value.
begin-heading #heading_size
Error in include file "gsh_print_mar.sqr" on line 207:
(SQR 4103) Cannot find required numeric parameter.
begin-heading #heading_size
Errors were found in the program file.
SQR: Program Aborting.
I'm tempted to write it off as just one of the quirks of SQR, but is there
something that I'm missing or is this just not possible?
Thanks for any help.
B
The Programmer formerly known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com
This message has been sent using 100% recycled electrons
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users