Products Downloads


French version


 

 

This function is used to create a temporary file and get its name.

 

Context

  • Windows client,

  • Windows server,

  • Java client,

  • Java server,

  • Adelia Web client,

  • Adelia Cloud client,

  • Event Adelia client.

 

Parameters

ALPHA(n)

Directory

Name of directory in which to create the file. If the parameter is *BLANK, the session's temporary directory will be used.

ALPHA(n)

Prefix

Prefix used to create the file.

ALPHA(n)

FileName

Variable receiving the name of the temporary file if successful.

NUM_BIN_4

FileNameLg

Length of the FileName variable.

BOOL

ReturnCode

*TRUE if the operation has been performed successfully.

Output parameter.

 

 

Example

ALPHA(256)  FileName

NUM_BIN_4  FileNameLg

BOOL  ReturnCode

 

* Creates a temporary file in the temporary directory

FileNameLg = 256

 

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxCreateTempFile' *BLANK 'TEMPO' FileName FileNameLg ReturnCode

IF NOT ReturnCode

* Error processing...

END

 

 

List of the VaToolBx functions by topic

 

↑ Top of page