$function vs $$function
What are the difference between $ and $$ symbols using macro.
Comments
Macro is $$$. Anyway, a little excerpt from documentation
| $ |
|
|
Double dollar sign: Extrinsic (user-written) function prefix: $$name(parameters). $$ is returned by $STACK when context was established by an extrinsic function reference. Prefix to a routine name to directly invoke that routine. |
On a related note, here is a useful appendix that you can use to figure out things like this:
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…
"As you read existing Caché ObjectScript code, you may encounter unfamiliar syntax forms. This appendix shows syntax forms in different groups, and it explains what they are and where to find more information."