Pass in "24 80" if you like, it will work. ScreenLength and width can be passed in if your terminal doesn't go to 160 columns. The lines of code that are the same will be lined up Make Routine1 and Routine2 variables and pass by reference to get back the 2 routines as arrays Call it like $$^ZRDIFF(Routine1,Routine2,Namespace1,Namespace2,0,0.Diffs) to get it to return a non-zero number indicating there's a difference To compare classes use #class(%).GetTextAsArray(,ClassName.Array) and do your own thing. Alternatively, pass in a pair of arrays to compare in Master and Minor but ensure top node is populated with something. Pass in 1st routine (arg1 is Master) to compare against itself (in another namespace) or against 2nd routine (arg2 is Minor) Knocked up to run a quick diff on an old Caché version 5 system where my nice diff program won't work
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |