tag:blogger.com,1999:blog-3251920374329557969.post5213922579156569763..comments2024-03-28T05:54:19.168+00:00Comments on RAREblog: A concise solution to a fiddly coding problemRomilly Cockinghttp://www.blogger.com/profile/04944907795639823332noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3251920374329557969.post-41197403049083431122019-02-12T15:09:00.677+00:002019-02-12T15:09:00.677+00:00Neat, and very practical. CoSy's blend of Fort...Neat, and very practical. CoSy's blend of Forth and APL is very interesting.Romilly Cockinghttps://www.blogger.com/profile/04944907795639823332noreply@blogger.comtag:blogger.com,1999:blog-3251920374329557969.post-84419196586739185022019-02-11T22:04:25.617+00:002019-02-11T22:04:25.617+00:00I often comment that it's a question which fun...I often comment that it's a question which function key is most valuable in CoSy : F6 which executes the line under the cursor , or F11 which puts down a timestamp .<br /><br />My regular log is kept in the variable ` text . This diary is just text with days simply separated by " daylns " which can be inserted by F12 or in bulk by a simple expression . <br /><br />A very commonly used line I keep in ` state . is , eg :<br /> ` text Dv@ daylncut >t0> s" sols" con<br />which retrieves ` text , splits it on daylns , and here found just one day containg "sols" :<br /><br /> | ======================== | Fri.Dec,20181221 | ======================== |<br /> ... | 1050 | NL 20181221.1053 | 1403 | <br /> 1523 | Solstice | day 7:14 am - 4:40 pm Total:09:27<br /> | 2033 | <br /><br />If a bunch of days are returned , or I simply want to my entire text in reverse order , that would be :<br /><br /> ` text Dv@ daylncut reverse <br /><br />Bob Armstronghttps://www.blogger.com/profile/12517889718518675999noreply@blogger.com