go to post Robert Cemper · Feb 19, 2018 Digging around working sets I found them unable to cover package structures:packages seem to be implemented as kind of sub-directory. You see the same effect in editor pane. The package is only visible in mouseOver event. You only see the packages if you click the down arrow in right upper corner and "Edit Working Set".For "TZ = TimeZone" I googled around Eclipse and opened a can of worms. With no answer.
go to post Robert Cemper · Feb 19, 2018 see this ANSWER for use of |CPIPE|https://community.intersystems.com/post/execute-exe##node-418951
go to post Robert Cemper · Feb 17, 2018 try this set list=$lb("","2",6,6,6,"3") for i=1:1:$LL(list) { write !,$li(list,i),?5 if $lb($li(list,i)) = $lb(+$li(list,i)) write "Integer" else write "String" } Result: String2 String6 Integer6 Integer6 Integer3 String
go to post Robert Cemper · Feb 17, 2018 This functionality seems to be broken. Since quite some time.It also fails in SAMPLES / Class ZENTest.ComboTest.cls and the method is never called.Analysis of Class %ZEN.Component.dataListBox shows that the related call to method %DrawItem got lost.I verified it with a personal hack. You may contact WRC for a fix.
go to post Robert Cemper · Feb 16, 2018 if you just want to eliminate the hyphen this may work for you:USER>write $TR($zcvt($tr("mY-sImPlE eXaMpLe","-"," "),"W")," ")MySimpleExampletranslate hyphen to blank first and off you go
if you just want to eliminate the hyphen this may work for you:USER>write $TR($zcvt($tr("mY-sImPlE eXaMpLe","-"," "),"W")," ")MySimpleExampletranslate hyphen to blank first and off you go
if you just want to eliminate the hyphen this may work for you:USER>write $TR($zcvt($tr("mY-sImPlE eXaMpLe","-"," "),"W")," ")MySimpleExampletranslate hyphen to blank first and off you go
go to post Robert Cemper · Feb 16, 2018 provided you have sufficient access rights you may get defined roles in Caché / Ensbele like this: set role="" for { set role=$ORDER(^|"%SYS"|SYS("Security","RolesD",role)) quit:role="" write role,! ;; or do whatever you need }
go to post Robert Cemper · Feb 16, 2018 %request.content is an object of type %CSP.Stream;http://docs.intersystems.com/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25CSP.Request#PROPERTY_Contentso you have to access it by Stream Methods. Simple SET either left or right side doesn't work.see docs:http://docs.intersystems.com/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25CSP.Request
go to post Robert Cemper · Feb 16, 2018 I probably don't understand your expectation.You upload typically an image or something similar that the browsercan display as part of the article, questions, answer, comment you write.And that works excellent.If this is something else e.g. some binary stuff, or Word.doc or Excel it may fail.What type of file would you expect to upload ?
go to post Robert Cemper · Feb 16, 2018 Ooops!The sequence of recruiters seems to be reversed related to values Gold Recruiter - 10 referralsAwarded after 10 / 50 / 100 of your referrals have joined Developer Community.Silver Recruiter - 50 referralsBronze Recruiter - 100 referrals
go to post Robert Cemper · Feb 14, 2018 Oliver,this turned out to be somewhat more tricky than expected.The way you used stream.FindAt(...) returns the size of the gap between the last found occurrence and the next.So you have to add the size of your search string for each loop to get closer to your file sizeso it might be easier to do it this way:set last=1for set i=stream.FindAt(last,"Invalid password") quit:i<0 set last=ithis might be closer but definitely smaller than the total size
go to post Robert Cemper · Feb 14, 2018 it says:If it does not find the target string then return -1 . So what you get in i is the last start of your search string Which is 2491024949 - 2442920326 = 48104623 from end.It's almost the same as your first occurrence at 49134354. Looks feasible.To get the file size as you expect the LAST search string must have been startingAT the end of your file. Which is a contradiction.
go to post Robert Cemper · Feb 14, 2018 your code: from Docs:set i=stream.FindAt(-1,"Invalid password",x)+ifrom Docs:http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25Stream.Object#FindAt method FindAt(position As %Integer, target As %CacheString, ByRef tmpstr As %CacheString = "", caseinsensitive As %Boolean = 0) Find the first occurrence of target in the stream starting the search at position.It returns the position at this match starting at the beginning of the stream.If it does not find the target string then return -1.If position=-1 then start searching from the current location and just return the offset from the last search,useful for searching through the entire file.If you are doing this you should pass in tmpstr by reference in every call which is used asa temporary location to store information being read so the next call will start where the last one left off.If you pass caseinsensitive=1 then the search will be case insensitive rather than the default case sensitive search. So your line should work like thiswhile(stream.AtEnd=0){set i=stream.FindAt(-1,"Invalid password",.x)+i}-----------------------------------------------------------------^PASS BY REFERENCE should do the trick
go to post Robert Cemper · Feb 13, 2018 Since the time when there was a Projection to C# I have adopted unique names.It was an incredible pain if names were not unique.
go to post Robert Cemper · Feb 12, 2018 Congratulations! The call to server is only necessary if you provide some tricky calculations at server side
go to post Robert Cemper · Feb 11, 2018 I have no issue with Angular or React. But:Leave Vue.js since vue in French is "seen" and that means nothing in this environment . "dejà vue"
go to post Robert Cemper · Feb 10, 2018 I assume this is the Trial version ! if you log in the management portal you should have a management account _SYSTEMand it has a 3 letter password SYS or syshttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_defaultusernamepassword#RSQL_C127680http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCAS_users#GCAS_users_predefined
go to post Robert Cemper · Feb 9, 2018 small extension.USER>write $TR($zcvt("mY sImPlE eXaMpLe", "W")," ")MySimpleExample
go to post Robert Cemper · Feb 9, 2018 Could it be you experience a timeout due to long execution time ?