go to post Robert Cemper · Feb 17, 2022 to allow Indirection in your case or eXecute to work, you have to set ClassMethod Indirection() [ ProcedureBlock=0 ] see: https://docs.intersystems.com/iris20212/csp/docbook/DocBook.UI.Page.cls?KEY=ROBJ_method_procedureblockand my related article: https://community.intersystems.com/post/summary-local-variable-scoping
go to post Robert Cemper · Feb 14, 2022 It should be sufficient to add this to init:script set user=##class(Security.Users).%OpenId("unknownuser") do user.Roles.Insert("%All") do user.%Save() ;;; just for comfort set smp=##class(Security.Applications).%OpenId("/csp/sys") set smp.AutheEnabled=64 do smp.%Save() set
go to post Robert Cemper · Feb 9, 2022 FOR loop does not accept a quit with argument. ERROR: CodeGolf.CHK.cls(7) :QUIT with arguments not allowed here c but return is 5 chars more
go to post Robert Cemper · Feb 6, 2022 possible but not likely: your friendly WIN Firewall blocks port 1972 in both directions)
go to post Robert Cemper · Feb 6, 2022 You could check in mgmt Portal MEMORY at the Bottom Super server PortThe next chance is that you run out of licenses. Also available in MgmPortal. (CSP/ZEN can be a huge license eater)
go to post Robert Cemper · Feb 6, 2022 #1Caché Studio can't access IRIS for version reasons. Reverse IRIS studio can sometimes.Better run separate versions.#2Studio requires access to SuperServerPort. Actual 1972 previous was 51773.if your IRIS runs in a Docker Container check the port mapping .
go to post Robert Cemper · Feb 5, 2022 check https://openexchange.intersystems.com/package/springboot-iris-crud
go to post Robert Cemper · Feb 3, 2022 Big THANKS to the whole community for the interest and the trust in my contribution,Not to forget to thank the excellent support team and the fruitful cooperation within the community!
go to post Robert Cemper · Feb 2, 2022 this works unlimited but has no exit if none unmatched foundmethod length = 64,and it shows only the abs. value 38 instead of -38 s y=$lfs(o) f i=1:1 s a=$lf(y,i),b=$lf(y,-i) ret:a+b&'(a*b) i
go to post Robert Cemper · Feb 2, 2022 but it fails if the unpaired is < -9 as in the ref.example "-110,110,-38,-38,-62,62,-38,-38,-38" and doesn't stop
go to post Robert Cemper · Feb 2, 2022 NICE. but runs forever if there is no unpared. And why starting with -9 ?
go to post Robert Cemper · Feb 2, 2022 size = 65 return 0 if all pared; { 0 is excluded for pairing } ClassMethod Solve(o As %String) As %Integer { s y=$lfs(o) f i=1:1:$ll(y) s c=$li(y,i) ret:'$lf(y,-c) c q 0 }