When in directory C:\Windows, ".Stream~new(left('',248,'a'))~qualify" produces the proper drive letter, path, and name. I.e.
.Stream~new(left('',248,'a'))~qualify == 'C:\Windows\'left('',248,'a')
But the drive and path are gone with length 249:
.Stream~new(left('',249,'a'))~qualify == left('',249,'a')
That remains true up thru length 259:
.Stream~new(left('',259,'a'))~qualify == left('',259,'a')
Then at 260, the result is null:
.Stream~new(left('',260,'a'))~qualify == ''
I'm using Open Object Rexx Version 4.2.0 (and looking foward to version 5)
Build date: Feb 22 2014
Addressing Mode: 32
on Windows 10
Anonymous
This had also been reported with [bugs:#1266] and has since been fixed with [r11173] for 5.0.0
Doug, thanks for reporting ... you might want to try the already very stable 5.0.0 beta at https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/ (look for Windows installer .exe files with the highest revision number)
Related
Bugs:
#1266Commit: [r11173]