User bio

my video https://youtu.be/zx6WoApljBI
my business story https://community.intersystems.com/post/45-years-intersystems-1978-2023

  • main languages: German, English, Italian, French, Spanish, Latin, ..
  • private: married since 1969, 3 successful children

  

Member since Jul 21, 2017
Replies:

not correct. SINGLE line ELSE is part of Objectscript since ever
You just need a double space after the ELSE

USER>p 
ck       read "?",x,! 
         if x?.N write "numeric",! 
         else  write "other",! 
         goto ck 
USER>d ck 
?5 
numeric 
?a 
other

As almost any AI it lives from already posted questions
If the subject was never touched before, there is just no chance of finding a suitable answer

Example #5):  I have never met any question related to the COS follows operator ] 

Example #2)  I never met any mention of global ^ROUTINE or ^rOBJ or similar

So where might the knowledge come from if never been mentioned before ?

There are several hurdles to consider:

  • Scanning compiled class storage just shows definitions
  • Journals show active changed globals
  • I see no way for static globals that are written once, but just referenced without changes
  • Finally, globals might also be used without any class around
  • On top:  cross namespace references for classes and globals might apply as well   

Quite a can of worms.

Open Exchange applications:
Certifications & Credly badges:
Robert has no Certifications & Credly badges yet.
Followers:
Following: