go to post Robert Cemper · Oct 28 Another challenge is to enable WebSocket protocol on your webserverI just had the "pleasure" to do this for IIS 👺It's not a default
go to post Robert Cemper · Oct 28 (error on compiling within a class) like: #define TestIf(%arr) if (%arr > 0) { QUIT 5 } ; no final dot. #define is an element of ObjectScriptso it has to be embedded in a [Class]Method and it is only available within that method It can't be flying free inside a class definition. If you need your $$$TestIf(...) in more than 1 method, you can depositit in some TestIf.INC and include it BEFORE the Class statement !!Then it is visible to ALL methods. Attention: You can INCLUDE just 1 single *.INC in a class definition.If you need more than 1, you have to cascade it with #include in the first *.inc Include TestIf Class A.PERSON1 Extends %Library.Persistent { Parameter GlobalName = "^.........!" ;; /// ....... ClassMethod michael(param) as %Integer { $$$TestIf(param) ......... quit $$$OK }
go to post Robert Cemper · Oct 28 The AI example is misleading anyhow, as it just does a $O loop without any action to be done *.inc is typically kind of text generation code during compilation. What is your expectation for using the *.inc ? %in and %gn are just text replacement parameters:%gn is used as globalname, %in as first level subscript
go to post Robert Cemper · Oct 27 If you just see pre you may have a problem with your &html< ........> sequencethat translates to write ........,! including all quoting requirements, while <pre> any text </pre> is just straight HTML and #(variable)# is a CSP instruction to display the actual content of a variableand avoid any extra spaces
go to post Robert Cemper · Oct 25 this may help to get the plain %request object: k ^SPOOL s %io=$I O 2 u 2 ZW %request c 2 u %io or whatever object you need to trace
go to post Robert Cemper · Oct 25 From Class Docs.: Somewhere in the CSP page. This is just ~20% of the content
go to post Robert Cemper · Oct 22 I can just confirm your experience. Must be a bug in irisession on WIN.My workaround for termination: HALT followed by blankThen an empty line following. Otherwise, the last character is repeated endlessly until all memory is consumed.Neither mouse nor keyboard reacts. I had to reboot several times
go to post Robert Cemper · Oct 22 There are geographies in this world where a Decimal-Comma is used instead of a Decimal-Point.Never met a Decimal-Pipe 😉
go to post Robert Cemper · Oct 14 Totally right!My intention was to show it as granular as possibleto avoid eventual confusion.
go to post Robert Cemper · Oct 9 Just received notice: Provide a single page view of free space in IRIS DBs has changed status to: Community Opportunity
go to post Robert Cemper · Oct 9 I miss 4 points for the community idea for my Snapshot:https://ideas.intersystems.com/ideas/DPI-I-799It's also filled into OEX
go to post Robert Cemper · Oct 8 To me, the most impressive fact about InterSystems is that it doesn'thide or deny its roots or reject its history, and keep its backward compatibility. I remember a customer who had composed and used an incredible complicatedprogram to create knitwear patterns with his equipment for over 30 years without change.When he migrated to IRIS it was running perfectly without changing a single bit. This still impresses me more than all the new language featuresthat force me to adjust versions as an ongoing challenge.
go to post Robert Cemper · Oct 6 3 variants come to my mind writing to ErrorLog Do LOG^%ETN() write to Systrem message.log set %evgeny=$io open 1 use 1 write !,"Was in my REST code",! close 1 use %evgeny If you have a terminal session LOCK ^%EVGENY --- And into your code, add this simple loop for LOCK +^%EVGENY QUIT:$TEST HANG 0.5 Now your method loops, and you can attach with any external debugger. Releasing the LOCK from Terminal does the "un-freeze"
go to post Robert Cemper · Sep 28 Simplified: %CSP.Page is a collection of methods and event handlers without any own properties.Related data are kept outside in %CSP.Request and %CSP.response.But you may mimic InitialExpressions by using PARAMETERS
go to post Robert Cemper · Sep 27 I've been offering my reports on reviews for more than four years now,as a personal service to the DC community, to show recent reviews.And this covers any new review I can detect, not just add-ons to my own 700+ positive reviewsI started it long before the quality reports you mention were even proposed and implemented. And even at my advanced age, I'm not willing to leave my audience in the lurchuntil I'm explicitly forced by DC+OEX managers with a reasonable explanation.In addition, the quality reports you address have neither a selectable overviewnor any kind of summary or view of progress.
go to post Robert Cemper · Sep 25 Not really surprised. The Python version was in as the first anyhow
go to post Robert Cemper · Sep 25 I understand that using the IRIS Native API is the important feature.Is this also valid for IRIS Native API for ObjectScript ????. No doubt it is EXTERNAL on a different instance,talking to the same interface as Java, NodeJS, Python, .NETfacing the same limitations (Functions !)