trigger in Kdb+ ??

Hello Frends!!Old k system have trigger for global variable ( x..t: “bla-bla” )In Kdb+ its possible ??With best regards.

nope. in fact there is something but not like it used to be.

there are two options now re triggers:

  • .z.vs: this is triggers when a global variable is changed in root namespace

  • var::… : double colon assignment to a global variable build a dedendancy trigger which gets evaluated when accessed if the underlying dependancies are changed.

felix

Thanks, Felix.
WBR