The answers I have to your questions.
The %GI (or %GTI) format has two data lines followed by multiple
variable length lines in pairs.
The file is typically created by Do ^%GTO or DO ^%GO.
There are multiple "Global Dump programs that do not use the same
format, from multiple M implementations.
Some of those formats are very implementation specific.
The transportable format involves characters each of which is from
ASCII 32 through ASCII 127.
The repeated pairs of lines consist of a global reference, followed by
a data value.
The process must act as if it will be used as if a SET @FIRST=SECOND
command was performed.
It is also expected that the Naked Global Reference is set as it would
be if the SET occurred.
This means the text read as the first variable length string (FIRST)
could be a naked reference, and it could have M expressions as subscripts.
It cannot have control characters (ASCII 0 through 31 or any character
values larger than 126)
or Unicode characters in it.
The text read as the second variable (SECOND) must be the value of a M
variable.
It cannot have control characters (ASCII 0 through 31 or any character
values larger than 126)
or Unicode characters in it. The values of each character should not
be processed in any way.
There as some variations of the %GI format, notably marking the the
FIRST line with asterisks,
the word EOF or END OF FILE, but they don't conform to the format in
any of the ANSI MUMPS standards.
Dave Whitten
713-870-3834.
> --
> --
>
http://groups.google.com/group/Hardhats
> To unsubscribe, send email to
Hardhats+u...@googlegroups.com
>
> ---
> You received this message because you are subscribed to the Google Groups "Hardhats" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hardhats+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hardhats/f9a3ad18-69ef-4776-8784-30b8e909aa89n%40googlegroups.com.