tempfilename / tempfilenamew
tempfilename / tempafilenamew
tempfilename(tabOpzioni)
- tabOpzioni
- (tipo tabella)
Tabella 1. Formato della tabella tabOpzioni.
|
Parametro |
Tipo |
Descrizione |
|
dir |
stringa |
Directory (se omessa e' la dir temp di sistema) |
|
ext |
stringa |
Estensione del file da creare (default .tmp) |
|
make |
booleano |
Se 1 crea il file vuoto; altrimenti ritorna solo il nome |
|
name |
stringa |
Nome file fisso, opzionale. |
|
prefix |
stringa |
Prefisso nome file (default "tm") |
|
makedir |
booleano |
Se true crea una dir invece di un file e restituisce il nome. |
Ritorna un nome di file generato automaticamente da usarsi per file temporanei.
La versione unicode riceve e ritorna stringhe unicode.
Esempio 1. Esempio tempfilename / tempfilenamew
local tmp = tempfilename(".txt")
Created with the Personal Edition of HelpNDoc: Leave the tedious WinHelp HLP to CHM conversion process behind with HelpNDoc