In my func:
q.Sync("SaveSegment:{[SegmentName;hdbdir]\r\n" + "SegmentPath:
sv (hdbdir;dbdata;SegmentName);\r\n" + "if[((.Q.P?SegmentPath)=(count .Q.P))=1b;ParPath:
sv (hdbdir;dbhead;
par.txt); file: hopen ParPath; file (SymbolPathToString SegmentPath), "\n";hclose file]};");`
I’m checking that my segment not exist in .Q.P, but when DB is empty, there is not .Q.P and I got error.
How can I check this?
For usual variables, I can check them by (system"v")?`foo, but .Q.P isn’t system variable…