PAN command
Posted: Mon May 09, 2022 2:43 pm
As I only have a QPC2 system set up here atm, could someone possibly try something out on a BBQL for me to see if this is QPC specific, or applies across all QDOS/SMSQ_E systems.
Bit of an unusual issue with a PAN command, which could potentially be useful if it appliers across all systems.
It concerns the area panned left or right with the 3 or 4 parameters.
PAN doesn't support PAN #channel,pixels, parameter where parameter = 1 or 2 (i.e. only pans whole window, or cursor line, not the section above or below the cursor line).
As expected, PAN #channel,pixels,3 or PAN #channel,pixels,4 pans the current line whether in CSIZE height 0 or 1. Thus far, as expected.
After making a silly programming error in my program, I came across this, which may be useful.
On QPC2, if I altered the CHAR_INC vertical spacing to a value larger than the usual 10 or 20 pixels, e.g.
AT 0,0
CSIZE 1,1
CHAR_INC 8,50
PAN -10,3
It seems to pan left a block of 50 pixels high ten pixels to the left.
That's all I need checked really, that this still works on a QL with Toolkit 2. Useful being able to pan a variable height section if the PAN command takes CHAR_INC settings into account on all systems.
Bit of an unusual issue with a PAN command, which could potentially be useful if it appliers across all systems.
It concerns the area panned left or right with the 3 or 4 parameters.
PAN doesn't support PAN #channel,pixels, parameter where parameter = 1 or 2 (i.e. only pans whole window, or cursor line, not the section above or below the cursor line).
As expected, PAN #channel,pixels,3 or PAN #channel,pixels,4 pans the current line whether in CSIZE height 0 or 1. Thus far, as expected.
After making a silly programming error in my program, I came across this, which may be useful.
On QPC2, if I altered the CHAR_INC vertical spacing to a value larger than the usual 10 or 20 pixels, e.g.
AT 0,0
CSIZE 1,1
CHAR_INC 8,50
PAN -10,3
It seems to pan left a block of 50 pixels high ten pixels to the left.
That's all I need checked really, that this still works on a QL with Toolkit 2. Useful being able to pan a variable height section if the PAN command takes CHAR_INC settings into account on all systems.