It seems that the examples in ExportCell( are flawed. Copying and running it generates errors:
global LineFormula
LineFormula=dbinfo("fields","")
arrayfilter LineFormula,LineFormula,¶,
{""""+exportcell(«}+import()+{»)+""""}
LineFormula=replace(LineFormula,¶,{+","+}+¶)
execute {export "Comma.txt",}+LineFormula
There are characters included that I’m unfamiliar with, but I was able to correct the code and get it to run properly:
global LineFormula
LineFormula=dbinfo("fields","")
arrayfilter LineFormula,LineFormula,¶,{""""+exportcell(«}+import()+{»)+""""}
LineFormula=replace(LineFormula,¶,{+","+}+¶)
execute {export "Comma.txt",}+LineFormula
The multiple quotes also seem unnecessary. It works without them just fine:
global LineFormula
LineFormula=dbinfo("fields","")
arrayfilter LineFormula,LineFormula,¶, {exportcell(«}+import()+{»)}
LineFormula=replace(LineFormula,¶,{+","+}+¶)
execute {export "Comma.txt",}+LineFormula