ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] Application menu line length limit   [Zeta]

By: Ben Kent       
Date: Jul 22,2020 at 09:34
In Response to: [Zeta] v2.4.195 Now Available! (Kim Henkel)

The ZTW.HLP file in v2.4.195 (Ver. 2.4.193 in the header), states this
"
The Application Menu is limited to a maximum of 2048 lines, each of which can
hold a script of up to 999 lines, each of up to 512 characters.
"

But the lines get truncated at column 256 in the generated ZTW_MENU.BAT file and some extra text is added, to reproduce
Create a new Application menu item, something simple like this is enough, repeat the 0123456789 until ZTree beeps

Echo 0123456789
pause

run the application menu item

Notice this unexpected text on the end
F2 Load F3 Sav ···

View this file
%Temp%\ZTMP000\ZTW_MENU.BAT
Enable the [R]uler, and disable Wrap
See that the menu item commands are truncated at column 256 and the "F2 Load F3 Sav ···" text follows

Looking at the ZAM file, the application menu is saving lines up to column 512, so the issue looks like it is with generation.


Thanks
Ben

287 views      
Thread locked
 

Messages in this Thread

 
95,403 Postings in 12,036 Threads, 350 registered users, 103 users online (1 registered, 102 guests)
Index | Admin contact |   Forum Time: Jun 25, 2021 - 2:07 pm UTC  |  Hits:40,437,834  (16,255 Today )
RSS Feed