Modify

Opened 16 years ago

Closed 16 years ago

#1371 closed Feature Request (Completed)

_TempFile() update

Reported by: xrewndel <xrewndel@…> Owned by: J-Paul Mesnage
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, 16 years ago

Version: 3.3.2.0

Automatic ticket cleanup.

comment:2 by Valik, 16 years ago

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

comment:3 by J-Paul Mesnage, 16 years ago

Milestone: 3.3.7.0
Owner: changed from Gary to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [5796] in version: 3.3.7.0

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


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