PxPlus User Forum
Main Board => Discussions => Programming => Topic started by: Peter.Higgins on August 10, 2022, 05:29:54 PM
-
For a while we've been able to VER 2 for instance to get the date/Time/Version number of a program. This has stopped working recently. Since the system program count is set a 50, VER * is pretty much useless as it only shows the last 10 lines or so. Is there a way to limit or reverse the list?
-
I modified one line of code in '*cmd/system/ver' a long time ago to account for this.
Orig:
if all_ver then goto NEXT_VER
I went back and forth between two options:
if all_ver then if mod(prg_ver,20)=0 then escape end_if ; goto NEXT_VER
or
if all_ver and prg_ver<20 goto NEXT_VER
Just depends on if you want it to only show 20 versions or if you want it to escape after printing 20 versions. Having it escape is a nuisance, but allows you to either RUN to see more or END.