|
Post by Robert on Jun 23, 2024 14:35:21 GMT -5
I ran into an issue with this feature. I made my settings as LEFT, =and the output showed as FILENAME.TXT = = = = = it doesn't concatenate the = sign. So, next I tried putting them in quotes as the writeup says. I got this, where it simply copied the quotes. R Attachments:![](//storage.proboards.com/3714814/thumbnailer/rQyBIfBtxG0iyKVIPrSe.png)
|
|
|
Post by George on Jun 23, 2024 14:39:01 GMT -5
Assuming you want a string of ======== signs, get rid of the embedded blank. I'll correct that. Although the quotes should have done that. ![](//storage.proboards.com/3714814/thumbnailer/czHcrCdwaLnVJyioCRow.png) No, quotes wouldn't help, it's the space. I've corrected it for the next beta, meanwhile, remove it.
|
|
|
Post by Robert on Jun 23, 2024 14:43:43 GMT -5
The parameter was like this:
LEFT, "=" Did I do something wrong?
R
Not you me. See previous post.
|
|
|
Post by Stefan on Jun 24, 2024 1:36:07 GMT -5
George, Great and comprehensive solution! Thank you. I'm fortunate to have 2 external displays allowing an SPFLite window width showing over 400 character line length. Apologies if this post is awkward to read on narrower displays.
One minor adjustment required... I believe the <filename> part is always right-padded with blanks to a length of 100 bytes. It needs a RTRIM$(<filename>) applied.
As it stands, on a screen width showing a line length of 103 chars or less, no symbols are visible, even if you scroll right. On a wider screen, the reason becomes apparent...
Option: LEFT,<><> appears as
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----10---+----11---+----12---+----13---+----14. . . . . . 20 =FILE> <filename> ><><><><><><><><><><><><><><><><><><><><> Each filename is padded to 100 bytes in length. Also note that the <><> pattern starts with a > in column 101
Option: RIGHT,<><> appears as
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----10---+----11---+----12---+----13---+----14. . . . . . 20 =FILE> <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>><><><> <filename>
Each filename starts in column 101, i.e. the name starts 100 characters left of the right edge of the window.
Option: CENTRE,<><> appears as
=COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----10---+----11---+----12---+----13---+----14---+----15---+----16. . . . . . 20 =FILE> <><><><><><><><><><><><><><><><><><><><><><><><>< <filename> ><><><><><>
So the separator line is padded with the chosen symbol text and the filenames are correctly positioned, but the fixed 100-byte filename length upsets the overall effect.
|
|
|
Post by George on Jun 24, 2024 8:42:25 GMT -5
Stefan: Odd, I bet you have MINLEN 100 specified. Regardless, a TRIM should be added.
Re: <><> showing as ><> - thats because the line is filled with pad chars and THEN the filename is overlaid on top. BTW. <> is just as good as <><>
George
|
|
|
Post by Stefan on Jun 24, 2024 11:29:00 GMT -5
You won that bet :-) !!!
I was searching around for why it would be exactly 100 but didn't think of MINLEN. Duh!!!
|
|