ZTree.com  | ZEN  | About...  

 Index   Back

[Bug] Application menu line length limit   [Zeta]

By: Ben Kent       
Date: Jul 22,2020 at 05: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

run the application menu item

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

View this file
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.



Messages in this Thread

95,075 Postings in 11,986 Threads, 350 registered users, 98 users online (0 registered, 98 guests)
Index | Admin contact |   Forum Time: Aug 13, 2020 - 2:18 am EDT  |  Hits:33,079,698  (3,620 Today )
RSS Feed