THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700
S U M M A R Y
DIARY: May 26, 1998 06:23 AM Tuesday;
Rod Welch
Add Internet address to SDS Contacts for converting SDS records.
1...Summary/Objective
2...Create Standard Letterhead and load Internet address in SDS Web pages
3...Error Messages
4...070405 Put email address on User's name instead of Letterhead
5...070405 Load Standard Organization Letterhead for SDS Web Pages
.......Omit Email address from Web page letterhead
6...Mailto Email Address so People Can Comment on SDS Records
7...0450431 Avoid loading Contact if it is already loaded
8...0450431 Load two line ASCII Leterhead for plain Email
9...0450431 Enter email address for name of SDS Record author
10...0450431 Enter Standard Organization/Person's Contact Letterhead
11...0450431 Eliminate HTML "address" to improve appearance
12...0450431 Email/Internet address for correspondence close
13...000009 Call 000901 to load email Address to 04050431
14...000009 Load Personal Contacts to Editor and SDS records
15...000009 Call 000901 loads Letterhead, Internet address to 0450431
16...000009 Personal op for SDS is over after name and phone entered
17...000009 Load SDS Contact fields from Contact record
18...000009 Keep Contact record open to fix mistakes; assign special F2
19...000009 Entry 1631 special F2 "save" to fix letterhead in Contact Rcd
20...000009 Entry 1821 Locate Specified Person in Contact Record
21...000009 load complimentary close into 0450431
22...000009 Assign markcur 31 back to SDS from 0450431
23...Enter Doc Log Fields to SDS Record Secondary Doc Log
24...000009 Entry 1822 Calculate PCL to Center Letterhead
25...000901 Enter Letterhead and Internet address to Macro 0450431
26...Personal Contact records do not call macro 1821, because there is no
27...000901 Add Internet address to SDS User's name on "Diary" line
28...Email/Internet Address Below Author's Name in Letter Format
29...000901 Call new macro 1188 to post 2 line ASCII letterhead
30...000901 If same record in 0450431 do not load it again
31...000901 Comment out mailto command in 0450431 if no email address
32...000901 Call macro 1822 to Calculate Pixels for Centering Letterhead
33...000901 Remove Internet Address from Contact Record Letterhead Field
34...000901 Find "Internet" field in Contact record to Enter in 0450431
.....Omit Internet Email Address from Letterhead
.....Internet Email Address Entered Below Author's Name in Letters
35...000901 Temporarily assign markcur 34 to SDS so 0450431 can be 31
36...000007 Read long strings macro 1188
37...000007 Enter long strings, macro 1189
38...000007 Counter 85 99 for 3 spaces in char read processors 1182 1188
..............
Click here to comment!
CONTACTS
SUBJECTS
Convert SDS Record to HTML
Appearance, Headings
Document Log System
Internet Support
Email Address for Replying
Comment Reply Email Address
Load Letterhead to 0450431
Load CNS to Doc Log in SDS rec, 910315
Internet Email for Reply
Planning and Concepts
1612 - ..
1613 - Summary/Objective
1614 -
161401 - Follow up ref SDS 10 0000, ref SDS 7 0000.
161402 -
161403 - Added User email address to letterhead macro, 0450431, so it can be
161404 - applied by 070405 to create Web pages for SDS recrods. Email address
161405 - will highlight the author's name on the SDS record identification line
161406 - of the Web page letterhead.
161407 -
161408 - Changed the format for Web page letterhead from 2 lines to standard
161409 - multi-line and centered format, according to whatever the User enters
161410 - in the organization Contact record.
161411 -
161412 - [On 980527 added ability for User to post letterhead macro
161413 - 0450431 from within a Contact record, rather than solely by
161414 - filling out a Doc Log for a new letter. ref SDS 18 0000]
161415 -
161416 - Created char read and enter macro to handle long strings. ref SDS 0
161417 - 3012
161418 -
161419 - ..
161420 - This took 5 days of work that is mainly reported in this record.
161421 -
161422 - [On 980601 modified location of letterhead address in Contact
161423 - records. ref SDS 19 2700]
161424 -
161425 -
161426 - ..
1615 -
1616 -
1617 - Planning
1618 -
161801 - Create Standard Letterhead and load Internet address in SDS Web pages
161802 -
161803 - Now that we have established that SDS can be used by others to create
161804 - Web pages, we need the ability to let users select their own
161805 - letterhead and have the "Comment" return Internet email address to the
161806 - User, per record on 980521. ref SDS 17 8945
161807 -
161808 - The letterhead for SDS records converted into Web pages has been using
161809 - the 2 line ASCII format created by 0450431 PCL address macro, per work
161810 - on 980324. ref SDS 10 9750
161811 -
161812 - Today I want to change this so we create a standard letterhead that is
161813 - centered and also includes the Internet address. There needs to be an
161814 - easy way for SDS users to select their letterhead and control its
161815 - contents.
161816 -
161817 - [On 980527 developed ability for users to customize Web page
161818 - letterhead. ref SDS 18 0000]
161819 -
161820 - [On 980601 modified the system using macro file 0450431.
161821 - ref SDS 19 2700
161822 -
161823 - [On 021018 streamlined letterhead system again. ref SDS 24 2700
161824 -
161825 - ..
161826 - We can enter the email address in Personal Contact records with a
161827 - semicolon after the telephone number, and it can be part of the
161828 - regular address.
161829 -
161830 - Can do the same in organization contacts.
161831 -
161832 - ..
161833 - Decided not to include the Internet address in the letterhead,
161834 - per reasoning below. ref SDS 0 5359
161835 -
161836 - Instead the Internet address will simply be applied in the Web page at
161837 - the Diary ID line where the SDS User's name is entered. ref SDS 0 0952
161838 -
161839 - ..
161840 - We can create a comment line in 0450431 that holds the Contact ID so
161841 - we can kickout if the current contact is already loaded, to save time.
161842 -
161843 - We can put the email address at this location to make it faster to
161844 - load it when 0450431 is called by the HTML function 070405, since
161845 - the latter will be used much more often than the code to load the
161846 - Contact into 070405. For many users, they will only have to do
161847 - this once, since they normally are not sending memos and letters
161848 - for other people.
161849 -
161850 - ..
161851 - Decided against putting the email address on the Contact ID
161852 - comment line 0450431 because it needs to be part of an HTML
161853 - command that is entered into the Web page file during the 070405
161854 - operation.
161855 -
161856 - ..
161857 - We can use the code in compiled macro file 000009 to locate the email
161858 - address for a particular user in an Organization record, and load it
161859 - into the address macro file, 0450431. Created new macro 1821 to do
161860 - this. ref SDS 0 2891
161861 -
161862 - The code for entering the "Internet" email address in the Contact
161863 - record needs to be coordinated with the feature of adding an...
161864 -
161865 - Other Location Identifier
161866 -
161867 - ...which supplements the mailing address, per work on 960211.
161868 - ref SDS 3 0001
161869 -
161870 - ..
161871 - We can eliminate the code for the 2 line ASCII letterhead, since
161872 - everything can now use HTML. Will only unplug it, so if it turns out
161873 - to be needed, we can come back to it.
161874 -
161875 - For now decided not to unplug it.
161876 -
161877 -
161878 - ..
161879 - Error Messages
161880 -
161881 - The code will determine if there is a letterhead entered on line
161882 - 000901, and that it is no more than 6 lines deep. ref SDS 0 2870 and
161883 - ref SDS 0 3205
161884 -
161885 - The code will determine if there is a letterehad entered on line
161886 - 001001. ref SDS 0 2682
161887 -
161888 - If any of these three (3) conditions fail, then control will be
161889 - returned to the User in the Contact record to fix the problems. see
161890 - ref SDS 0 5056 A new F2 save function is provided to keep focus on
161891 - accomplishing the Doc Log operation. ref SDS 0 2581 The User can fix
161892 - the problems, press F2 and then ESC, then resume the Doc Log
161893 - operation.
161894 -
161895 -
161896 -
161897 -
1619 -
1620 -
SUBJECTS
HTML Address for Replying
Post Letterhead Macro for Writing Letters
Letter/correspondence PCL formats
2006 -
200601 - ..
200602 - 070405 Put email address on User's name instead of Letterhead
200603 -
200604 - Follow up ref SDS 10 9750.
200605 -
200606 - General - modify format of record header to call macro 0450431 for
200607 - entering a standard letterhead in an SDS record Web page and apply
200608 - the email address of the author of the SDS record.
200609 -
200610 - Line 500, ref OF 3 3164, -label noAI, modify initial format of record
200611 - header so that the User's name (i.e., the author of the SDS record) is
200612 - on the line below the "Diary" specification line. This facilitates
200613 - adding the HTML "mailto"... command done by macro 0450431 to the
200614 - User's name, instead of the main organization letterhead. ref SDS 0
200615 - 2489, and in 000901. ref SDS 0 0952
200616 -
200617 -
200618 - ..
200619 - Line 1200, ref OF 3 2463, -label 02, about 150 lines below,
200620 - decided to have 0450431 enter the email address on "Diary" record ID.
200621 - ref SDS 0 2489
200622 -
200623 -
200624 - ..
200625 - 070405 Load Standard Organization Letterhead for SDS Web Pages
200626 -
200627 - Line 950, ref OF 3 2533, -label 02, about 60 lines below added code to
200628 - center the letterhead, and changed call to macro 0450431 #4, to use
200629 - new code created today, ref SDS 0 4879, for loading the full
200630 - letterhead address in standard format so that it can be centered.
200631 -
200632 - Was able to remove a little code in this that is now in 0450431.
200633 -
200634 - ..
200635 - Omit Email address from Web page letterhead
200636 -
200637 - Decided not to include the Internet email address for the SDS
200638 - record Web page letterhead because it looks too busy, per
200639 - analysis below. ref SDS 0 0952
200640 -
200641 -
200642 -
200643 - ..
200644 - Mailto Email Address so People Can Comment on SDS Records
200645 -
200646 - Line 1110, ref OF 3 4961, -label Ahdr, created code to enter an HTML
200647 - mailto command for the User's email address that is entered on the
200648 - Action Item line under "Comments." If there is no email address then
200649 - no mailto command is entered. The email address is captured by
200650 - 0450341 which also sets a flag if the email address command has been
200651 - commented out. ref SDS 0 2414
200652 -
200653 - [On 980624 had to make slight revision. ref SDS 21 0271]
200654 -
200655 - Line 1175, ref OF 3 3534, -label nAIx, this is similar code in the
200656 - case of there being no Action Items found, so a "Comment" line is
200657 - entered by itself.
200658 - ..
200659 - However, if there is no email address, then the Comment line is
200660 - also omitted from the Web page.
200661 -
200662 -
200663 -
200664 - ..
200665 - 0450431 Avoid loading Contact if it is already loaded
200666 -
200667 - Follow up ref SDS 10 0040.
200668 -
200669 - Line 60, ref OF 2 0802, -label Welch, will post a flag showing what is
200670 - currently loaded, so this operation can stop, if it is already loaded
200671 - by the code in 000901. ref SDS 0 3917
200672 -
200673 - This will only apply to the automatic Doc Log operation. If we
200674 - are loading 0450431 from the Contact record, then this will not
200675 - have effect so that the User can make changes to the letterhead
200676 - address format and/or the internet address and load it into
200677 - 0450431 each pass.
200678 -
200679 - [On 980527 created Contact menu option to accomplish this
200680 - objective. ref SDS 18 1715]
200681 -
200682 -
200683 -
200684 - ..
200685 - 0450431 Load two line ASCII Leterhead for plain Email
200686 -
200687 - Line 320, ref OF 2 1379, -label AScii this code is used to enter the
200688 - ASCII format of a return address that comes from the Contact record
200689 - created by the Doc Log system.
200690 -
200691 - We may at a future time be able to remove this code because
200692 - technology is moving toward the Internet and Web page support.
200693 -
200694 -
200695 - ..
200696 - 0450431 Enter email address for name of SDS Record author
200697 -
200698 - Line 340, ref OF 2 1679, -label html, added code to enter the email
200699 - address into the Web page on the "Diary" ID line that shows the date,
200700 - time and owner (SDS User) of the record. ref SDS 0 1172 The User's
200701 - name will then be highlighted, so the reader can click on the name to
200702 - send a reply. The email address is loaded into this code in 0450431 by
200703 - code in 000901 when a letter is addressed and the "FROM" field is
200704 - loaded by the User.
200705 -
200706 - The code in 000901 is below at ref SDS 0 2883.
200707 -
200708 - ..
200709 -
200710 - This code first checks to see if an email address was entered based on
200711 - whether there is a "*" in column one that comments out the "ins_text"
200712 - command, which is accomplished by 000901. ref SDS 0 2883 and ref SDS 0
200713 - 4025,
200714 -
200715 - If there is not a "*" then there should be an email address on the
200716 - line and it is loaded into the object file. The 0450431 code also
200717 - captures the email address with the char read macro 1182 using counter
200718 - 180. After counter 0450431 runs, processing returns to the primary
200719 - processor, 070405 and it uses macro 1181 to load the email address
200720 - into the Action Item "Comment" line, so that there are two ways the
200721 - reader of a Web page can reply to the author.
200722 -
200723 - We need a direct way to load this processor from within the Contact
200724 - record rather than only from sending a letter.
200725 -
200726 - [On 980527 created this feature. ref SDS 18 1715]
200727 -
200728 -
200729 - ..
200730 - 0450431 Enter Standard Organization/Person's Contact Letterhead
200731 -
200732 - Line 320, ref OF 2 1389, -label html, added code under a call from
200733 - macro file 070405...
200734 -
200735 - @c:\sd\03\0450431 #4
200736 -
200737 - ...to enter HTML for a letterhead address and a reply email address.
200738 -
200739 - Line 350, ref OF 2 3006, -label nemlAD, added code to load the full
200740 - address into the object file, then remove the PCL, per ref SDS 0 1698.
200741 -
200742 - This method replaces the prior code that used the 2 line ASCII address
200743 - and did not center it.
200744 - ..
200745 - This gives a better appearance to the Web page --- maybe.
200746 -
200747 -
200748 -
200749 - ..
200750 - 0450431 Eliminate HTML "address" to improve appearance
200751 -
200752 - I decided not to use the HTML "address" command because it makes the
200753 - thing italic which does not look as good as standard text. Made the
200754 - letterhead bold and used size=2 for a good contrast with the "Summary"
200755 - heading.
200756 -
200757 -
200758 - ..
200759 - 0450431 Email/Internet address for correspondence close
200760 -
200761 - Line 120, ref OF 2 1457, -label Welch about 60 lines below, trying to
200762 - enter the Internet/email address below the author's name in the close
200763 - of a letter.
200764 -
200765 - This field is posted by 000901, per below. ref SDS 0 0952 and
200766 - ref SDS 0 5840
200767 -
200768 -
200769 -
200770 - ..
200771 - 000009 Call 000901 to load email Address to 04050431
200772 -
200773 - Follow up ref SDS 1 3541.
200774 -
200775 - Had to create a new macro file 000901 and put quite a bit of the code
200776 - from 000009 into 000901 to save compiler space. ref SDS 0 2870
200777 -
200778 - [On 980527 created -entry 1820 to support Letterhead menu option
200779 - per ref SDS 18 1968.]
200780 -
200781 -
200782 -
200783 - ..
200784 - 000009 Load Personal Contacts to Editor and SDS records
200785 -
200786 - Line 1120, ref OF 5 2909, -label aoRecrd, changed call to load a
200787 - personal contact record address into an Editor file, using the same
200788 - code created to use alternate address formats in organization
200789 - records, which is line 001601.
200790 -
200791 - I also changed personal Contact record formats so there can be
200792 - multiple listings for individuals alphabetically.
200793 -
200794 -
200795 -
200796 - ..
200797 - 000009 Call 000901 loads Letterhead, Internet address to 0450431
200798 -
200799 - Line 1150, ref OF 5 3412, -label cName, changed to call 000901 that
200800 - posts the email address into 0450431 and enters the Contact Id into
200801 - 0450431 so that if the Contact that is being used in the SDS Doc Log
200802 - operation is already loaded in 0450431, then it does not have to load
200803 - it again.
200804 -
200805 - Uses...
200806 -
200807 - Global 129 is captured in 047041 line 100.
200808 -
200809 - getgbl 129 129
200810 - -if @91 = 1129 -if @129 = 73 -gosub lthrd
200811 - ..
200812 - Counter 91 establishes it is a doc log operation.
200813 -
200814 - Counter 129 says this is a "From" doc log task that needs to post
200815 - the letterhead macro, 0450431.
200816 -
200817 -
200818 - ..
200819 - 000009 Personal op for SDS is over after name and phone entered
200820 -
200821 - Line 1500, ref OF 5 5968, -label mcLnD, after the main address line
200822 - for a Personal Contact record, which contains the Contact person's
200823 - name and phone number, this operation is over at this point, because
200824 - it is a branch for loading the field from within a Contact record and
200825 - for personal records, there are never multiple entries in a single
200826 - record.
200827 -
200828 -
200829 -
200830 -
200831 - ..
200832 - 000009 Load SDS Contact fields from Contact record
200833 -
200834 - Line 2400, ref OF 5 6016, -label DcLog, I had to unplug the code down
200835 - to about line 2700 in order to get the program to compile so I can
200836 - continue to use the program to figure out how to consolidate the code.
200837 -
200838 -
200839 - ..
200840 - 000009 Keep Contact record open to fix mistakes; assign special F2
200841 -
200842 - Line 2430, ref OF 5 7403, -label FrErr, called from below...
200843 -
200844 - -label cName
200845 -
200846 - ... ref SDS 0 2582
200847 -
200848 - Changed the code for handling errors encountered in the Doc Log
200849 - process. Previously, the code simply reported an error to the User.
200850 - The User then had to open the Contact record and fix it, then resume
200851 - the Doc Log operation. Now the code will keep the Contact record open
200852 - for immediate correction.
200853 -
200854 - The code in 000901 looks for the Letterhead address line "0016 " in
200855 - the Contact record, and checks to see if the next line which should be
200856 - 001601. ref SDS 0 2870
200857 - ..
200858 - If this line is missing, it sets an error flag 92 1130.
200859 -
200860 - The code below the -label cName checks the flag after 000901 runs, and
200861 - calls -label FrErr, if the flag is set.
200862 -
200863 - Today, I set the code under -label FrErr to return to the initial SDS
200864 - record and restore the Doc Log data entry condition for the "From"
200865 - field, which is where the User initiated the operation. The code
200866 - calls the profile for Contact records and sets a special F2 function
200867 - that updates the line numbers and saves the record. F1 if unplugged,
200868 - so there is limited functionality in this mode. The only objective is
200869 - to correct the Letterhead fields.
200870 -
200871 -
200872 - ..
200873 - 000009 Entry 1631 special F2 "save" to fix letterhead in Contact Rcd
200874 -
200875 - Line 2440, ref OF 5 8059, -entry 1631, created this to update line
200876 - numbers and save the Contact record when an error is encountered in
200877 - the Doc Log operation.
200878 -
200879 -
200880 - ..
200881 - 000009 Entry 1821 Locate Specified Person in Contact Record
200882 -
200883 - Line 1520, ref OF 5 3348, -entry 1821, added this as a subset under
200884 - -label cName. It is called from new macro file 000901, ref SDS 0
200885 - 4043, to find the Contact person's name in the Contact record, that is
200886 - specified in the Contact Summary for an organization record, in order
200887 - to get the email address. This code only finds the person's name, then
200888 - processing goes back to 000901, per ref SDS 0 4402.
200889 -
200890 -
200891 - Line 1360, ref OF 5 2984, -label aM_ths_r, added macro 19 when
200892 - processing has jumped the file to load the letterhead address into
200893 - 0450431, to restore the original location with cursor on the Contact's
200894 - name line. The code can then get the contact's name to load into the
200895 - 0450431.
200896 -
200897 - ..
200898 -
200899 - Line 1820, ref OF 5 2699, -label DcLog, this code ends macro 1821, see
200900 - ref SDS 0 2891, by calling subroutine in new macro file 000901 that
200901 - captures the email address called under subroutine lthrd. ref SDS 0
200902 - 8849
200903 -
200904 - Processing therefore reverts back to 000901 on the line below the call
200905 - to macro 1821, which loads the email address into 0450431.
200906 -
200907 - ..
200908 - 000009 load complimentary close into 0450431
200909 -
200910 - Line 2440, ref OF 5 5627, -label nemilB this code runs after macro
200911 - file 000901 runs. It uses code that enters fields for a Contact
200912 - person into the Editor and SDS records, to provide a standard means to
200913 - capture these fields for entering the complimentary close parameters
200914 - into 0450431.
200915 -
200916 - It should be able to use code for these same fields that are captured
200917 - for loading documents.
200918 -
200919 - macro 12 is set at line 2350, ref OF 5 4444
200920 -
200921 - We should be able to use macro 14 for this that identifies
200922 - the Contact person's name when the file is opened.
200923 - ..
200924 - This code loads a contact person's name into 0405431,
200925 - we should be able to use the code for this at ref SDS 19
200926 - 2015,
200927 -
200928 -
200929 - ..
200930 - 000009 Assign markcur 31 back to SDS from 0450431
200931 - Enter Doc Log Fields to SDS Record Secondary Doc Log
200932 -
200933 - Line 2540, ref OF 5 8083, -label stvBl this code posts Doc Log fields
200934 - in SDS records. Have to initially switch markcur back from 34 to 31
200935 - which was assigned to 0450431 by 000901, per below. ref SDS 0 7731
200936 -
200937 -
200938 - ..
200939 - 000009 Entry 1822 Calculate PCL to Center Letterhead
200940 -
200941 - Line 3440, ref OF 5 5606, -label lp1_cG, created new macro called by
200942 - macro file 000901 to figure out the PCL x position values for
200943 - centering the letterhead. ref SDS 0 3611
200944 -
200945 - [000402 removed this code from 000009. ref SDS 23 4783
200946 -
200947 -
200948 -
200949 - ..
200950 - 000901 Enter Letterhead and Internet address to Macro 0450431
200951 -
200952 - Follow up ref SDS 10 9750.
200953 -
200954 - Line 10, ref OF 1 2001, this is the launch for the operation to enter
200955 - contact information into 0450431 processor, so it is ready to load
200956 - into a document file by macro file 0501 or Web page processor, macro
200957 - file 070405.
200958 -
200959 - [On 980612 applied this improvement in 0501. ref SDS 20 3470]
200960 -
200961 - ..
200962 - Line 60, ref OF 1 4870, -label lthrd, caputres the letterhead from the
200963 - 001601 line in Contact records. If the line is not present, then it
200964 - sets a flag for an error message in 000009 under -label cName so that
200965 - the User can enter the letterhead format, per ref SDS 0 5056.
200966 -
200967 - Changed the code so that the field for the letterhead is the same in
200968 - both organization and personal Contact records.
200969 -
200970 - ..
200971 - Line 110, ref OF 1 1118, -label lpQz, if the letterhead field has
200972 - more than 6 lines, an error message occurs.
200973 -
200974 -
200975 - Line 130, ref OF 1 9177, -label lt6, calls new macro 1821 for
200976 - organization Contact records to locate the specified contact person in
200977 - the Contact record.
200978 -
200979 -
200980 - -if @128 = 4 macro 1821
200981 -
200982 - Processing under macro 1821 uses code in 000901 to find the Internet
200983 - subfield and capture it with macro 1182, and if it does not exist, it
200984 - sets a flag. ref SDS 0 8849
200985 -
200986 - ..
200987 -
200988 - Personal Contact records do not call macro 1821, because there is no
200989 - Contact person to locate in the record. Processing therefore uses
200990 -
200991 - -if @128 = 2 -gosub pCont
200992 -
200993 - ...to jump directly to the code in 000901 that locates and captures
200994 - the Internet address. see ref SDS 0 5890
200995 -
200996 - Line 250, ref OF 1 1051, -label f_lngth, about 60 lines below, comment
200997 - out the Complimentary close for personal Contact records.
200998 -
200999 - Line 290, ref OF 1 1016, -label jmpCC, verify next line is still part
201000 - of Letterhead address field based on line number 0016nn
201001 -
201002 -
201003 - ..
201004 - 000901 Add Internet address to SDS User's name on "Diary" line
201005 - Email/Internet Address Below Author's Name in Letter Format
201006 -
201007 - Line 600, ref OF 1 3234, -label oCont, about 40 lines below, find
201008 - Internet address, if any. Set 67 2 flag that Internet address exists.
201009 -
201010 - Line 730, ref OF 1 2405, -label nGuy, put email address in the HTML
201011 - mailto string in front of the User name on the Diary line, which
201012 - provides access to an email window to comment on the SDS record.
201013 - ref SDS 0 4483
201014 -
201015 - Line 770, ref OF 1 5394, -label nIemA, Internet/email address also
201016 - entered in the correspondence format as part of the person's name who
201017 - sends the letter, per above. ref SDS 0 4511
201018 - ..
201019 - Need to include this for personal letters.
201020 -
201021 - [On 991204 did this. ref SDS 22 0899]
201022 -
201023 -
201024 - ..
201025 -
201026 - Line 800, ref OF 1 2632, -label nIemA, Finally decided not to enter
201027 - the email address in the letterhead, because it does not have a good
201028 - appearance. ref SDS 0 5840 and ref SDS 0 5359
201029 -
201030 - There is also a concern that for a large organization, it seems
201031 - incongruous for the email of an individual to be represented as
201032 - the email address for the entire organization. These are
201033 - quibbles, but for now will not include the email address in the
201034 - letterhead.
201035 -
201036 - People can get email address by replying, using the mailto code above.
201037 -
201038 -
201039 - Line 190, ref OF 1 2431, -label f_lngth, about 50 lines below, added
201040 - code to refresh the "i" for "ins_text" commands that load the
201041 - letterhead address, because we need to comment these commands out in
201042 - order to blank them when there are fewer than the maximum of six lines
201043 - in the letterhead.
201044 -
201045 - ..
201046 - Line 230, ref OF 1 3416, -label f_lngth, about 90 lines below,
201047 - added code to comment out any "ins_text" commands for letterhead lines
201048 - that are not used.
201049 -
201050 - This works in 070405 because it starts with enough lines to accomodate
201051 - up to 8 letterhead lines, and then it deletes any extra ones.
201052 -
201053 -
201054 - ..
201055 - 000901 Call new macro 1188 to post 2 line ASCII letterhead
201056 -
201057 - Line 350, ref OF 1 2993, -label ascgit decided to reduce use of cut
201058 - and paste by creating a new char read ability to get a long string
201059 - using both groups of global counters 1 45 and 180 120.
201060 -
201061 - We call here macro 1188, created today in 000007. ref SDS 0 3012
201062 -
201063 -
201064 - ..
201065 - 000901 If same record in 0450431 do not load it again
201066 -
201067 - Line 380, ref OF 1 1275, -label lpemail, about 60 lines below, added
201068 - code to evaluate the prior contact organization and person IDs in
201069 - 0450431, and if they are the same as the new entry being created,
201070 - then the operation is stopped as redundant.
201071 -
201072 - Code was added today in 0450431 to position the Contact ID and the
201073 - name of the SDS user, per above at ref SDS 0 2296.
201074 -
201075 - Line 515, ref OF 1 3152, -label ncPsn, if this is a Doc Log operation
201076 - and the Contact record is already loaded into 0450431, then 67 4 flag
201077 - is set to avoid further 0450431 tasks and simply load the Doc Log
201078 - fields into the SDS record.
201079 -
201080 -
201081 - ..
201082 -
201083 - Line 440, ref OF 1 2405, -label lpemail, post Internet email address
201084 - to the HTML "mailto" command in 0450431, which is identified by "HREF"
201085 - ref SDS 0 2489
201086 -
201087 - Flag 61 2 establishes if there is an Internet eamil address to enter
201088 - set below at ref SDS 0 3735
201089 -
201090 - If there is no email address, then "ins_text..." is commented out by
201091 - entering a "*". This is used by 0450431 when it is called by 070405
201092 - to determine wether to capture the email address for loading it into
201093 - the Action Item "Comment" notice in the Web page. ref SDS 0 2414
201094 -
201095 -
201096 - ..
201097 - 000901 Comment out mailto command in 0450431 if no email address
201098 -
201099 - Line 480, ref OF 1 1584, -label nGuy, if there is no Internet address
201100 - for the person sending the email, enter a "*" to comment out the
201101 - command in the 04050431 letterhead macro that loads both the address
201102 - command and the ending command.
201103 -
201104 - The "*" is read when 0450431 executes to notify 070405 when an email
201105 - address can be entered in the Action Item "Comments" field. ref SDS 0
201106 - 2414
201107 -
201108 -
201109 - ..
201110 - 000901 Call macro 1822 to Calculate Pixels for Centering Letterhead
201111 -
201112 - Line 160, ref OF 1 4295, -label f_lngth, call new macro 1822 to
201113 - calculate the pixels that center the letterhead text. This is a lot
201114 - of repetitive stuff, so it runs faster in RAM. ref SDS 0 4115
201115 -
201116 -
201117 -
201118 -
201119 - 000901 Remove Internet Address from Contact Record Letterhead Field
201120 -
201121 - Line 210, ref OF 1 1798, -label f_lngth, after the letterhead address
201122 - for an Organization contact is loaded into 0450431, then the email
201123 - address needs to be removed from its temporary posting after the
201124 - telephone number.
201125 - ..
201126 - Was able to eliminate this code because decided not to include
201127 - the Internet address in the letterhead. per below and ref SDS 0 0952
201128 -
201129 -
201130 - ..
201131 - 000901 Find "Internet" field in Contact record to Enter in 0450431
201132 -
201133 - Line 540, ref OF 1 4344, -label apEmA this code is called under -entry
201134 - 1821 in 000009 as a second subroutine in 000901, ref SDS 0 4043, to
201135 - find the Internet address line after -entry 1821 finds the contact
201136 - name for the "From" field in loading a doc log spec.
201137 -
201138 -
201139 - ..
201140 - Omit Internet Email Address from Letterhead
201141 - Internet Email Address Entered Below Author's Name in Letters
201142 -
201143 - After the Internet address is located this code returns to the
201144 - letterhead address on the 0009 line in the Contact record and
201145 - appends it to the telephone line. If there is no telephone line,
201146 - then the code either makes a new line for the Internet address, or
201147 - it appends the email address to the last line, if there are 6
201148 - lines of address for the letterhead.
201149 -
201150 - I finally decided to unplug this code so that Internet email
201151 - address is not appended to the letterhead field in the Web page,
201152 - per ref SDS 0 1172 and ref SDS 0 0952.
201153 -
201154 - Will post the Internet address below the author's name in a
201155 - letter, per above. ref SDS 0 0952 and ref SDS 0 4511
201156 -
201157 -
201158 - ..
201159 -
201160 - Line 400, ref OF 1 3759, -label pCont, personal Contact records,
201161 - identified by 128 = 2, ref SDS 0 6777, look from top of record,
201162 - whereas, in organization contact records, macro 1821 finds the Contact
201163 - person's field, and then checks each line to find the Internet address
201164 - line. So in personal Contact records the locate command is from the
201165 - top of the file, but in organization Contact records the locate is a
201166 - "fr /Internet/" command.
201167 -
201168 -
201169 -
201170 - ..
201171 -
201172 - Line 410, ref OF 1 2159, -label eml4, setcnt 67 2 as a flag for when
201173 - there is an Internet email address found and loaded.
201174 -
201175 - It can be used to load the Internet address into 0450431. ref SDS 0
201176 - 2883
201177 -
201178 -
201179 - ..
201180 - 000901 Temporarily assign markcur 34 to SDS so 0450431 can be 31
201181 -
201182 - Line 600, ref OF 1 3950, -label nIntAd, temporarily switch markcur 31
201183 - from the SDS target record to 0450431 so the common subroutines in
201184 - 000009 that load fields into Editor and SDS records, will load it into
201185 - 0450431, per explanation above. ref SDS 0 8852
201186 -
201187 -
201188 -
201189 -
2012 -
SUBJECTS
Char read long strings
2104 -
210401 - ..
210402 - 000007 Read long strings macro 1188
210403 -
210404 - Line 890, ref OF 4 4834, -entry 1188 - created this today as a way to
210405 - avoid using cut and paste for transferring long strings. ref SDS 0
210406 - 2682
210407 -
210408 - It uses macro 1182 with both sets of global counters beginning at 1
210409 - and at 180.
210410 -
210411 - The macro starts with 86 1, but this can be changed so we can start at
210412 - any value. Starting with 86 10 is a good choice for using the first
210413 - 10 counters to capture control factors.
210414 -
210415 - Line 920, ref OF 4 1517, if the string is less than 45 char, then only
210416 - one pass occurs, but if it is longer, then a second pass is performed
210417 - that begins at counter 180, and setgbl 69 666 is a flag for macro 1189
210418 - that enters the string at the new location.
210419 -
210420 -
210421 - ..
210422 - 000007 Enter long strings, macro 1189
210423 -
210424 - Line 940, ref OF 4 2139, -entry 1189, created this new macro that uses
210425 - macro 1181 twice starting first with 86 1 and then 86 180.
210426 -
210427 - It uses macro 641 after the first pass to delete anything that may
210428 - have been entered on the line previously.
210429 -
210430 - Does getgbl 69 69 and if counter 69 = 666, it runs the second pass.
210431 -
210432 - Therefore have to reset gbl 69 666 to run macro 1189 on consecutive
210433 - passes.
210434 -
210435 -
210436 - ..
210437 - 000007 Counter 85 99 for 3 spaces in char read processors 1182 1188
210438 -
210439 - Line 680, ref OF 4 5007, -label bH_lP_a, changed the code so that
210440 - counter...
210441 -
210442 - 85 99
210443 -
210444 - ...is a switch for -entry 1182 to read past 2 spaces and stop on a 3rd
210445 - blank space.
210446 -
210447 - Line 740, ref OF 4 3297, -label g_Bla had to create new code to reduce
210448 - the ending counter value by one and make other adjustments so that the
210449 - ending counters work the same as the previous code. spaces as it did
210450 - before.
210451 - ..
210452 - Line 720, ref OF 4 5559, -label 28_ns added code to reset a new
210453 - switch, 84 0, for each new word to count spaces after the word.
210454 -
210455 - This change is helpful for getting strings with a single pass that
210456 - have two spaces as occurs in a state zip code address string in
210457 - Contact records.
210458 -
210459 - 440 Davis Court #1602; San Francisco, CA 94111
210460 -
210461 - ...which is the work being done above. ref SDS 0 2582
210462 -
210463 -
210464 -
210465 -
210466 -
2105 -