Differences between revisions 28 and 31 (spanning 3 versions)
Revision 28 as of 2012-01-24 20:27:55
Size: 2553
Editor: KaiJaeger
Comment:
Revision 31 as of 2018-03-03 11:51:12
Size: 116
Editor: KaiJaeger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
~-<<SeeSaw(section="table-of-contents", show="true", seesaw="false", toshow="<<(Show>> table-of-contents)", tohide="<<(Hide>> table-of-contents)", speed="Slow")>>-~
<<TableOfContents>>

`CompareSimple` is part of the CategoryAplTree project.

== Overview ==

`CompareSimple` offers a couple of methods designed to compare functions, operators, scripts and files. It is also able to deal with SALTed files as well as `acre` component files.

== Methods ==

There are just two main functions:

=== Match ===

`Match` takes names of functions or operators or scripts and compares the source code. Note that taking the source code with `⎕CR` or `⎕SRC` and then `≡` them is not always going to work: white spaces as well as formatting problems might result in a 0 when the source code is in fact identicall. `Match` deals with these problems properly.

=== These ===

`These` accepts a varity of arguments listed underneath. According to its arguments it tries to figure out what your intention is and carries out the appropriate action.

==== Script / Script ====
Compare the two scripts. Note that you can specify name(s) as well as reference(s).

==== Script / name of a *.dyalog file ====
Compare the workspace script with the file.

==== Script ====
This syntax requeires "Script" to be a SALTed script. In that case the workspace script is compared with its SALTed source file.

==== Name of a native file / name of a native file ====
Compare the two files.

==== Function name / function name ====
Compare two functions in the workspace.

==== Function name / name of a native file ====
Compare the function in the workspace with the file.

==== Function name / name of an `acre` component file ====
Compare the function in the workspace with the `acre` component file.

==== Function name ====
 If there is an `acre` component file holding that function the workspace version is compared with any of the components.

==== Namespace / namespace ====
Note that this works only with named namespaces, although the argument might be either references or names pointing to the two namespaces.

This is essentially the same as the `Merge` method but in read-only-mode.

== Project Page ==

For bug reports, future enhancements and a full version history see [[CompareSimple/ProjectPage]]

== Version Information ==
||Original author: || KaiJaeger ||
||Responsible: || KaiJaeger ||
||Email: || kai@aplteam.com ||

<<Include(APLTreeDownloads)>>

----
CategoryAplTree
The project has been relocated to [[https://github.com/aplteam/CompareSimple]] on 2018-03-03.

CompareSimple

The project has been relocated to https://github.com/aplteam/CompareSimple on 2018-03-03.

CompareSimple (last edited 2018-03-03 11:51:12 by KaiJaeger)