1
votes

This is a line in class MonCache.DB of this project:

s fieldsNames = ##class(MonCache.Types.Object) modificationOperator.getNames()

It is the first time I see that... Is that a cast, by any chance?

1
@jonrsharpe yes; however in this syntax there are no spaces between ##class(...) and the argumentfge
@jonrsharpe you can certainly understand that nobody recalls each and everything they have ever read; and the first link you point to does not explicitly mention that spaces are allowed therefge
I don't expect you to recall anything, let alone everything; why bother given that you can look it up as needed? However I would expect you to research, particularly given your rep. I've never even used ObjectScript and still found both of those links with a few seconds on Google.jonrsharpe

1 Answers

2
votes

It's method casting and whitespace does not matter in this particular context.