s txt(1)="1"
s txt(2) = "2"
s txt(3)="3"
...
s txt(n)="n"
Instead of hardcoding "d ..write(txt1(1),txt(2),txt(3))"
Is it possible to write code to generate the input parameters to do d ..write(txt1)...txt(n))?
{
InterSystems ObjectScript is a scripting language to operate with data using any data model of InterSystems Data Platform (Objects, Relational, Key-Value, Document, Globals) and to develop business logic for serverside applications on InterSystems Data Platform.