go to post Russell Knight · Jul 17, 2017 If I an given a global, ^G, how can I discover how many subscripts are included? In other words, how can I determine if the global has 3, 5, 7, ect... or more subscripts? If I want to $Order through the global I would need to know how many subscripts as I build my code to read the elements, correct?f s x1=$o(^G(x1)) d...f s x2=$o(^G(x1,x2)) d...f s x3=$o(^G(x1,x2,x3) d...How can I determine by looking at some type of meta data for a given global, that I have 3, 5, or whatever subscripts?Please advise,Thanks...
go to post Russell Knight · Jul 3, 2017 Greetings,Can someone please show me via coding example(s) how to write an input prompt that will read in a function key, F7 for example, validate that the key pressed is F7 and then process it all via cache.Thanks...