Thanks, Fernando. I pretty much have something similar going with SCCTEXTX and my diffing tool of choice. I'm sure your utils are a bit more elegant but I'm in get it done mode at the moment. : - )
What I was thinking of writing was a bit more menu specific using things like PRMPAD() and CNTPAD() etc. Dump stuff into arrays, parse them out and comp the results.
--
rk
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Thursday, June 16, 2016 10:18 AM To: profoxtech@leafe.com Subject: Re: VFP menu documentation utility?
If you want to compare menus, then you can use FoxBin2Prg to convert them to Text (.MN2) and compare using a good tool like Meld, Beyond Compare, WinMerge or any other.
With FoxBin2Prg there is a utility included called FB2P_DIFF.exe, which allows you to just run it and drag & drop your menus (MNX) to the input filename boxes to do a quick compare using WinMerge Portable (also included) without the need to setup anything else. Inside FB2P_DIFF.exe you can configure other DIFF utils (it have Beyond Compare v2 preconfigured too, in case you have it installed)
You can download from VFPx: https://vfpx.codeplex.com/wikipage?title=FoxBin2prg
Try it and comment here about if was useful to you,
Best Regards.-
2016-06-16 16:06 GMT+02:00 Richard Kaye rkaye@invaluable.com:
I have some similar menus and I'm looking for a way to tell which menu options might be unique to one or the other so I can build a single consolidated menu.
I've already forged ahead by diffing MPR/MNAs. It's a bit noisy as VFP assigns sys(2015) values to each proc so there are a lot of irrelevant differences to wade through. But I'm impatient... : - )
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Fernando D. Bozzo Sent: Thursday, June 16, 2016 9:40 AM To: profoxtech@leafe.com Subject: Re: VFP menu documentation utility?
Hi Richard:
You want to compare VFP menus to what exactly? to older versions?
2016-06-16 15:05 GMT+02:00 Richard Kaye rkaye@invaluable.com:
I want to compare some VFP menus; bars, pads, etc. I know there are a number of native functions I can string together to do this but before I reinvent the wheel I thought I'd check with the collective wisdom to see
if
anyone here has already built my utility for me. : - )
TIA
--
rk
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]