Enhancement suggestion: @format and @formatn

May 20, 2008
3,515
4
Elkridge, MD, USA
Currently if the 2nd parameter is an undefined variable both the @FORMAT and
the @FORMATN functions display an error message. I suggest adding an
optional 3rd parameter to specify default value. This would remove the need
for considerable error checking. Alternate solutions: 1/ new functions with
the desired behavior; 2/ .INI directives or "TREEEXCLUDE" type variables to
specify default value; 3/ additional control element in 1st parameter to
specify default behavior.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
M time /s - enhancement request Support 5
S Virtual disk detection, minor enhancement requests Support 0
C Question / Suggestion Support 1
fpefpe Suggestion for next release Support 2
C textsort suggestion for tpipe Support 8
C New suggestion Support 1
S Forum suggestion Support 0
rconn Suggestion list for next major version Support 0
J Suggestion for next version Support 0
S Suggestion: enhanced automatic quoting of filenames Support 2
dcantor Suggestion for @DATE[] input Support 2
S HELP nit and suggestion Support 2
dcantor Take Command V10 @WINPID suggestion. Support 2
dcantor Syntax files, and suggestion Support 0
sully9 How to? Unexpected %DATE% CMD variable format (vs DATE /T format) in CMDebug Support 1
T Date format date different from cmd Support 7
vefatica @TIMER's format ... Support 2
T Elapsed time format in prompt changed in TCC 25 Support 10
Joe Caverly DATE format 4 Support 7
M Fixed Set "VAR=VAL" format causes problems Support 12
fpefpe touch - date format Support 2
T Problems with the new help format Support 18
samintz WAD @format has issues in v18.00.14 Support 10
mikea How to? Detecting clipboard format Support 7
fishman@panix.com Help file in Kindle format? Support 5
M PDir format question... Support 3
A Is TCC help available in PDF format? Support 2
S TIME /S report format Support 3
S Vince - forum format revisited Support 1
D No "Format" in right-click menu for DVD Support 11
nikbackm Change format of DIR totals Support 3
C OT: Music file format checker Support 0

Similar threads