Welch Company
San Francisco, CA


S U M M A R Y


DIARY: October 17, 2011 07:15 PM Monday; Rod Welch

SDS java wordwrap with insert on upgraded macro 341 for pfinsw1.

1...Summary/Objective


..............
Click here to comment!

CONTACTS 
03 - References                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
0301 -   SDS records                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
030101 - 921025 Incorporate new Medit features into SDS.                                                                                                                  921025 023323 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030102 - 921025 Called Morris to get Assembler utilities and improve Insert function.                                                                                     921025 204309 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030103 - 931024 Implement new editing features for SDS.                                                                                                                   931024 095659 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030104 - 971208 Improved function to Delete Word; combined with "collapse field."                                                                                         971208 194801 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030105 - 980724 Revise justify to avoid using cut and paste.                                                                                                              980724 001307 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030106 - 990831 Changed Contacts so Individuals can be entered from main menu bar.                                                                                        990831 094116 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030107 - 110606 SDS java called Morris fixed wordwrap and insert function.                                                                                                110606 124744 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030108 - 110621 SDS java Morris fixed backspace and up, added title command and message line.                                                                             110621 124051 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030109 - 111010 SDS java Morris refine counter menu and fix wordwrap, discuss getkey.                                                                                     111010 101614 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030110 - 111012 SDS java Morris refine counter menu, fix target command.                                                                                                  111012 210014 00101                                                                                                                                                                                                                                                                                                                                                                                                                              
030111 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
0302 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
0303 -   <ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ OF  -  O T H E R    F I L E S ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ> ÄÄÄÄÄ>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
0304 -   Dr <ÄÄÄÄÄÄÄÄÄ Filename ÄÄÄÄÄÄÄÄ>  <ÄÄÄÄÄÄÄÄÄÄÄ Description ÄÄÄÄÄÄÄÄÄÄÄ> ÄÄÄÄÄ> 
030401 - C: SD 33 000001                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
030402 - C: SD 33 000008                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
030403 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
030404 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
030405 - F: 03 00029 02                    Medit Code Change List and explanation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
030406 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
030407 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
0305 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     

SUBJECTS
Default Null Subject Account for Blank Record                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
0703 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
0703 -    ..
0704 - Summary/Objective                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
0705 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070501 - Follow up ref SDS 10 QQ9L, ref SDS 9 QQ9L.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070502 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070503 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070505 -  ..
0706 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
0707 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
0708 - Progress                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
0709 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070901 - On 111012, report that work on 110924 caused new wordwrap problem when                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070902 - insert key is on. ref SDS 9 KX8J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070904 -  ..
070905 - On 111012 2100 Morris feels this may be an SDS code problem for pfinsw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070906 - and pfinsw1 called in macro 151. ref SDS 10 KX8J                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070908 -  ..
070909 - This is listed as wordwrap problem #4 in the record on upgrading SDS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070910 - in the record on 110621 1240. ref SDS 8 4K9K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
070912 -  ..
070913 - Investigation this evening led to code changes.  Objective is to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
070914 - emulate wordwrap function in Notepad and Word, which seem only to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
070915 - have an insert on function...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070917 -  ..
070918 - Line 540, ref OF 2 0494, -entry 153 in \sd\33\000008                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
070919 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070920 -    pfinsw macro 610                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
070921 -       pfinsw macro 341                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070922 -       pfinsw1 macro 49                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070923 -    pfinsw1 macro 341                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070924 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070925 -        This code controls function of wordwrap with insert key set to                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
070926 -        on, and was developed for SDS java on 110606 1247. 110606 1247,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070927 -        ref SDS 7 OB5M                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
070929 -         ..
070930 -        Completely changed the original scheme reported sparingly in                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
070931 -        the record....                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
070932 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070933 -            Insert key problems with menus.............. 990831 0941, ref SDS 6 1927                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070934 -            Insert problems with justify................ 980724 0013, ref SDS 5 0714                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070935 -            pfinsw1 disconnect for Schedule............. 971208 1948, ref SDS 4 0105                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070936 -            pfinsw1 analysis insert key issues.......... 931024 0956, ref SDS 3 0001                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070937 -            pfinsw1 added macro 49 justify text......... 921025 2043, ref SDS 2 0001                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070938 -            pfinsw and w1 assigned macro 153............ 921025 0233, ref SDS 1 JY4G                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070939 -            pfinsw macro 491 justify text Schedule...... 921025 0233, ref SDS 1 YZ5K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070940 -            pfinsw file 04703 justify text DMS.......... 921025 0233, ref SDS 1 YZ5K                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070941 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070943 -  ..
070944 - Line 2640, ref OF 1 5P6I, -entry 341 in \sd\33\000001                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
070945 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070946 -    -entry 341                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070947 -    setcnt 71 @4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070948 -    setcnt 72 @5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070949 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070950 -        When insert is on, and text reaches the right margin, Morris'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070951 -        Medit code calls macro pfinsw, per above, ref SDS 0 KG3H, and                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070952 -        explanation in Medit code listing. ref OF 5 4966  After pfinsw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
070953 -        executes, Morris' Medit code then pushes text ahead 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
070954 -        character on the current line, and then calls pfinsw1.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070956 -         ..
070957 -        Until today, macro 341 was assigned to pfinsw; today this is                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
070958 -        changed assigning pfinsw macro 610, which merely determines the                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
070959 -        left margin for performing wordwrap, and justifying text.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
070960 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070961 -        1st task for macro 341 is to save counters for left and right                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070962 -        margin determined in macro 610, into other counters that will                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
070963 -        not be corrupted by macro 49 that justifies text within                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
070964 -        specified margins.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
070965 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070966 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070967 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070968 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070970 -                                ..
070971 -                               Is cursor in middle of a word string?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
070972 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070973 -      rel_cur 0 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
070974 -                               capture cursor to position on next line if                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
070975 -                               necessary.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
070976 -    chrcnt 68 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
070977 -    ic 93                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
070979 -      ..
070980 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070981 -    chrcnt 69 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
070982 -    ic 94                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
070983 -    rel_cur 0 -2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070984 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070985 -    setlen 1 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070986 -    setcur 2 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070987 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070988 -    setcnt 70 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
070989 -    -if @2 < @1 setcnt 70 1
070991 -                                  ..
070992 -                                 Justify para                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
070993 -    macro 49                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
070994 -                                 Is cursor is beyond end of line?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
070995 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070996 -    setlen 1 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070997 -    setcur 2 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
070998 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
070999 -                                        If not, continue typing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
071000 -    -if @2 < @1 -goto lftchrr
071001 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071002 -                                        If yes, scroll up and put cursor                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
071003 -                                        on blank space to continue typing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
071004 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071005 -    -if @70 = 0 -if @2 < @72 -goto lftchrr
071006 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071007 -                                   Wordwrap in macro 49 placed last word on next                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071008 -                                   line, so scroll up and move cursor to beginning                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
071009 -                                   of word left margin.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
071010 -    up                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
071011 -    loc_cur 0 @71                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
071012 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071013 -    -label lpfeolP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
071014 -    chrcnt 1 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
071015 -    -if @1 != 93 -goto cncfts3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
071016 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071017 -    rel_cur 0 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
071018 -    chrcnt 1 0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
071019 -    -if @1 = 94 -goto rstrchr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
071020 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071021 -    -label cncfts3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
071022 -    rel_cur 0 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
071023 -    -goto lpfeolP                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
071024 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071025 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071026 -    -label lftchrr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
071027 -    loc_cur 0 1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
071028 -    fr /]^/                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
071029 -    rel_cur 0 -1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071030 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071031 -    -label rstrchr                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
071032 -    rel_cur 0 -1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071033 -    ic @68                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
071034 -    ic @69                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
071035 -    rel_cur 0 -2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071036 -    -exit                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
071037 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071038 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071039 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071040 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071041 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071042 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071043 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071044 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071045 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071046 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071047 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071048 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
071049 -                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
0711 -