go to post Anna Golitsyna · Jan 22, 2024 Thanks, Robert. A couple of additional questions. Would you say the Used Size from GetGlobalSize (Size argument from code above; 725 MB) is more correct or the %GSIZE result is more correct (760 MB)? What's your take on GetGlobalSizeBySubscript when called for all first level subscripts yielding a magnitude lesser number in total, 8.56 MB? Could it be it returns only contents of purely ^GLOBAL(sub1) and not returning contents of ^GLOBAL(sub1,sub2)? BTW, I saw in the debugger that GetGlobalSizeBySubscript calls %GSIZE internally.
go to post Anna Golitsyna · Oct 4, 2023 I was so focused on subscripts that I forgot about indirection :-) . Thanks!
go to post Anna Golitsyna · Sep 13, 2023 That was it, invalid characters in a test method string. Thanks, @Pravin Barton and @Alexander.Woodhead!
go to post Anna Golitsyna · May 16, 2023 @Brett Saviano @Evgeny Shvarov You listed VSCode plusses, thanks. How about what Studio does that VSCode plus free plugins still do not? One of our programmers complained about debugging as of July 2022. Is it on par now?
go to post Anna Golitsyna · May 15, 2023 I'll watch it, thanks, Raj. I have to say though that I really prefer searchable text that can be visually scanned diagonally in 5 minutes as opposed to watching a 45-minute video. Oh well...
go to post Anna Golitsyna · May 15, 2023 Thanks, @Brett Saviano . I'd like to assess what are plusses and minuses of migrating first.
go to post Anna Golitsyna · May 15, 2023 Is there a recent and detailed article comparing VSCode plugin and the latest Studio? Something like this is what Studio still does better and this is what plugin does better.
go to post Anna Golitsyna · May 10, 2023 That's the code I ended up with. Thanks for your help, everybody! ; str is parsed into two arrays, words and separators (spaces and punctuation) ; Trim leading and trailing spaces here if needed S L=$L(str),(currWord,currSep)="",cnt=0 F i=1:1:L { S currChar=$E(str,i,i) I $MATCH(currChar,"\w") { S currWord=currWord_currChar I currSep'="" { S sepAr(cnt)=currSep,currSep="" }} ELSE { S currSep=currSep_currChar I currWord'="" { S cnt=cnt+1,wordAr(cnt)=currWord,currWord="" } } }
go to post Anna Golitsyna · Apr 14, 2023 It is based on a specific separator as opposed to all regular text separators at the same time, but it is an interesting approach to keep in mind. I was thinking about $LOCATE as well.
go to post Anna Golitsyna · Feb 13, 2023 I searched Journals for ^ROUTINE nodes and the filter displayed nothing. Both RI and RCOPY functions bypass any kind of source control, so GIT or OnAfterSave hooks cannot help.
go to post Anna Golitsyna · Dec 15, 2022 Not quite what I was looking for but very interesting in its own right. Thanks, Alexey!
go to post Anna Golitsyna · Dec 14, 2022 Hi Cristiano, This might do for my ultimate purposes, thanks, but strictly speaking $STACK does not return the line number which in this case is 7 (Teste+2). It returns line number relative to the enclosing function only. So I'll wait in case there is a different solution as well.
go to post Anna Golitsyna · Oct 14, 2021 I added a picture of what I am looking for to the post (Edit/Find). I think FindInFilesRegex corresponds more or less to Use wildcards on this screen.
go to post Anna Golitsyna · Oct 11, 2021 Also %RCOPY preserves date modified of the original routine, and I'd rather preserve it. So far other listed approaches do not preserve it.
go to post Anna Golitsyna · Oct 11, 2021 Yes, that works and assigns the time of copy as the date modified. Thanks, Stephen! BTW, in my experience at least some old-fashioned commands are faster than their modern equivalents though in this case the speed is not an issue.
go to post Anna Golitsyna · Oct 11, 2021 Robert, it does not trigger source control and yes, I'd like it non-interactive too.