7
//#include <rawfiles.h>
8
#ifndef NO_SWORD_NAMESPACE
16
int main(int argc, char **argv)
21
// RawText text("src/modules/texts/rawtext/sve/", "Sven Text", "Sven Text");
22
RawText text("src/modules/texts/rawtext/webster/", "Webster", "Webster Text");
23
// RawText text("src/modules/texts/rawtext/orthjbc/", "Webster", "Webster Text");
24
// RawGBF text("src/modules/texts/rawgbf/newtext/", "WEB", "World English Bible");
25
// RawText text("src/modules/texts/rawtext/kjv/", "KJV", "KJV Text");
26
// RawText text("src/modules/texts/rawtext/vnt/", "VNT", "Valera Spanish NT");
27
// RawCom commentary("src/modules/comments/rawcom/rwp/", "RWP", "Robertson's Word Pictures");
28
RawCom commentary("src/modules/comments/rawcom/mhc/", "MHC", "Matthew Henry's Commentary on the Whole Bible");
29
// RawFiles commentary("src/modules/comments/rawfiles/personal/", "MHC", "Matthew Henry's Commentary on the Whole Bible");
33
mykey.AutoNormalize(0); // Turn off autonormalize if 3 args to allow for intros
34
// This is kludgy but at lease you can try it
35
// with something like: sword "Matthew 1:0" 1 1
38
mykey = (argc < 2) ? "James 1:19" : argv[1];
41
commentary.setKey(mykey);
44
max = (argc < 3) ? 1 : atoi(argv[2]);
50
for (loop = 0; loop < max; loop++) {
51
cout << (SWKey &)text << ":\n";
54
cout << "-------------\n";
57
cout << "==========================\n";