Startseite > lang > temp 
 en fr es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Zurück  Weiter  Bearbeiten  Umbenennen  Rückgängig  Suchen  Verwaltung  
Dokumentation  
Achtung! Diese Seite wurde noch nicht übersetzt.  Siehe englische Version 
Temp$
File name = Temp$( [ Name ] )
File name = Temp( [ Name ] )

Returns a path for a temporary file.

The path has the following form:

/tmp/gambas.[User id]/[Process id]/[Name].tmp

where [User id] is the user system identifier, [Process id] the system identifier of the current process, and [Name] the value of the Name argument.

If Name is not specified, then it is replaced by an integer number incremented each time this function is called. This way, you can have file names that are unique.

All files located in the /tmp/gambas.[User id]/[Process id] directory are automatically removed when the Gambas program ends.

Beispiel

PRINT Temp$()

/tmp/gambas.501/14593/1.tmp

PRINT Temp$()

/tmp/gambas.501/14593/2.tmp

PRINT Temp$("version")

/tmp/gambas.501/14593/version.tmp

Siehe auch

File & Directory Functions