Question kavin kumar · Sep 4, 2017 Double dot? #Beginner #Caché Why we using double dot in cache?what is the use of it?
Robert Cemper · Sep 4, 2017 double dot ..property is the shortcut for $this.property in instance methods.http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
Oleg Dmitrovich · Sep 5, 2017 not only properties. Also:d ..AnotherMethod() // of THIS classw ..#Parameter // of THIS classand even d ..AnotherClassMethod() //of course in ClassMethod or Method of THIS classdouble dot - shortcut to THIS class context
Lexi Hayden · Sep 5, 2017 You might also find this useful:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GORIENT_appx_whats_that
double dot ..property is the shortcut for $this.property in instance methods.
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
not only properties. Also:
d ..AnotherMethod() // of THIS class
w ..#Parameter // of THIS class
and even
d ..AnotherClassMethod() //of course in ClassMethod or Method of THIS class
double dot - shortcut to THIS class context
You might also find this useful:
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GORIENT_appx_whats_that