Modify

#1371 closed Feature Request (Completed)

_TempFile() update

Reported by: xrewndel <xrewndel@…> Owned by: Jpm
Milestone: 3.3.7.0 Component: Standard UDFs
Version: Severity: None
Keywords: Cc:

Description

Add this in _TempFile() to accept "Default" keyword or -1 value

If $s_FilePrefix = -1 Or $s_FilePrefix = Default Then $s_FilePrefix = '~'
If $s_FileExtension = -1 Or $s_FileExtension = Default Then $s_FileExtension = ".tmp"
If $i_RandomLength = -1 Or $i_RandomLength = Default Then $i_RandomLength = 7

Attachments (0)

Change History (3)

comment:1 by TicketCleanup, on Dec 27, 2009 at 6:00:01 PM

Version: 3.3.2.0

Automatic ticket cleanup.

comment:2 by Valik, on Dec 27, 2009 at 6:20:23 PM

There is no need for the code to explicitly test -1.

comment:3 by Jpm, on May 6, 2010 at 9:18:53 AM

Milestone: 3.3.7.0
Owner: changed from Gary to Jpm
Resolution: Completed
Status: newclosed

Added by revision [5796] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain Jpm.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.