• Re: Read/Write to TACL temporary file

    From MK@21:1/5 to lyates on Mon Apr 25 07:31:33 2022
    On Tuesday, July 13, 2010 at 7:34:42 PM UTC-5, lyates wrote:
    I need to create a temp file and write to it and then read from it
    within a TACL routine.
    Any ideas?

    Here is the example to create and write to a validation file "val_file". Hope this helps.

    [#PUSH
    #INLINEPREFIX
    val_file
    summary_var
    ]

    ======= Create the new validation file (file size 0) ========
    [#if [#purge [val_file]]]
    fup create [val_file], type u, code 101, buffered, ext 100, &
    maxextents 100, oddunstr

    #SETV summary_var "Adding some text to this file"
    VARTOFILE summary_var [val_file]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)