compare tow classes

SALT, SPICE, Subversion, etc...
Post Reply
User avatar
ray
Posts: 238
Joined: Wed Feb 24, 2010 12:24 am
Location: Blackwater, Camberley. UK

compare tow classes

Post by ray »

I have a class on my desktop pc and a different version of the same class on my laptop.

How can I easily load the classes at the same time so I can compare the differences method by method?
Ray Cannon
Please excuse any smelling pisstakes.
DanB|Dyalog

Re: compare tow classes

Post by DanB|Dyalog »

I suggest you ]SAVE them as text files and compare the files, e.g.

Code: Select all

   ]SAVE PCclass \tmp\PCclass
then on the laptop

Code: Select all

   ]SAVE Laptopclass \temp\Laptopclass
then bring the 2 files together if the PCs don't see each other, say in C:\tmp, and do

Code: Select all

   ]SALT.Compare  \tmp\PCclass  \tmp\Laptopclass

you can also use 3rd party comparison software if you know a good one. I use BeyondCompare.
User avatar
Phil Last
Posts: 628
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Re: compare tow classes

Post by Phil Last »

Nothing wrong with Dan's suggestions but there is another alternative which is to bring in one of the classes, assign its ⎕SRC to a variable, bring in the the other, assign its ⎕SRC to a variable and compare the two variables.
Post Reply