State(,) function

Great to have DLL of course, but I have some LTSPICE models based on state machine command and would like to convert some of them to QSPICE. This is the back ground.