次の方法で共有


CREATETEMPFILE Function (File)

Creates a temporary file. This enables you to save data of any format to a temporary file. This file has a unique name and will be stored in a temporary file folder.

File.CreateTempFile

Parameters

  • File
    Type: File Use this variable to refer to the file.

Remarks

You can use this function together with NAME Function (File) and CLOSE Function (File).

Example

This example creates a temporary file that has the text Hello and then deletes the file by using the File.CLOSE function. This example requires that you create the following variable.

Variable DataType

FileName

File

FileName.CREATETEMPFILE;
FileName.WRITE('Hello');
FileName.CLOSE;

See Also

Reference

File Data Type