DEFINE VARIABLE memfile AS MEMPTR NO-UNDO.
. . . hDoc:SAVE("memptr",memfile). /* SAVE( ) will set the memptr size */ . . . |
DEFINE VARIABLE longstring AS LONGCHAR NO-UNDO.
. . . hDoc:SAVE("LONGCHAR",longstring). . . . |
DEFINE STREAM xmlstream.
. . . OUTPUT STREAM xmlstream TO custxml.xml. hDoc:SAVE("stream","xmlstream"). OUTPUT CLOSE. . . . |