Hi Bob,
Thanks to the (absurd) federal EHR requirements, my old Patient Manager EHR
has become a dinosaur, but I've been slowly reworking it from 2004 to v16,
as I still need some of its functionality (I working for CHI as a specialty
inpatient hospitalist).
Good to see your still in the 4D
Yeah.. I can imagine !
:)
On Wed, 31 May 2017 20:28:40 -0700, Robert Livingston wrote:
> – Boom, the method is sorted.
>
>
> **************
> *************
>
> It can be a little
The final 100 yards using Bob Finnerty's suggestion - (Hey! Finnerty. Glad to
see still working with 4D!)
1. Here is the code (non-pseudo) that you place in your project as a Project
Method: here called SortMethod. Paste this text in and save it.
// PROJECT METHOD: SortMethod
//
Chip:
Refer to my posting re. Workspace in the "favorite tricks" thread.
--
Douglas von Roeder
949-336-2902
On Tue, May 30, 2017 at 9:48 AM, Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> Keith & Bob
> Thanks!
>
> On Tue, 30 May 2017 11:01:11 -0500, Keith Culotta via 4D_Tech wrote:
Keith & Bob
Thanks!
On Tue, 30 May 2017 11:01:11 -0500, Keith Culotta via 4D_Tech wrote:
> This gets the text from and to the clipboard
>
>
> $text:=Get text from pasteboard
>
> ARRAY TEXT($array;0)
> $delim:=Char(Carriage return)
> $len:=Length($text)
> $lenDel:=Length($delim)-1
> $pos1:=1
>
This gets the text from and to the clipboard
$text:=Get text from pasteboard
ARRAY TEXT($array;0)
$delim:=Char(Carriage return)
$len:=Length($text)
$lenDel:=Length($delim)-1
$pos1:=1
$pos2:=Position($delim;$text;*)
While ($pos2>0)
$SS:=Substring($text;$pos1;$pos2-1)
APPEND TO ARRAY($array;$SS)
Hi Chip,
Here's the pseudocode:
Create a 4d method mySortMethod
GET MACRO PARAMETER highlighted text
Parse returned text to text array with substring using CR as delimiter
Sort array
Rebuild method text from array: For(1;$element;size of array())+CR
SET MACRO PARAMETER highlighted text
Then in
Anyone have a macro (or anything else)
which will sort method editor text?
I have a method which I am using to keep track of other methods I have
worked on.
I would like to sort this list. Currently I am copy/pasting in excel
and sorting and copy/pasting back
Would prefer not to do this.
8 matches
Mail list logo