Change in scrput behaviour

Jul 1, 2008
Running v17.00.52. Consider the command "scrput %_row 27 bri yel on bla %cel". In previous versions, the command worked as expected even if the variable %cel was empty or undefined. In v17 an empty/undefined variable triggers an error. Adding `` at the end of the command is a workaround
Jul 1, 2008
V17 tightened up on a number of previously ignored errors. Is there a reason you want to run a SCRPUT that doesn't actually do anything?
No reason other than convenience. The line is taken from a btm file that reads records from a CSV file. Some of its records have empty fields, but I can't predict which. I'll work around it.
Jun 2, 2008
Newton, MA
I think that you should be able to solve the problem simply by changing the command

scrput %_row 27 bri yel on bla %cel​


if "%cel" NE "" scrput %_row 27 bri yel on bla %cel​
Similar threads
Thread starter Title Forum Replies Date
R History window wrong size, can't remember size change Support 12
H Behavior change re piping a string to a Java program Support 1
Alpengreis [FORUM] After change the font, bold is without effect Support 7
R How to? Change TCMD tab font size in window menu Support 3
E How to change window title tcmd window - not tcc window Support 1
Alpengreis Small things to change in installer and after installed Everything Support 0
Charles Dye File completion change Support 11
T Change language in script Support 4
Jay Sage Change in Behavior of Activate Command Support 4
I Change value of a variable while debugging Support 3
T Change language after installation Support 4
WadeHatler Fixed Breaking change in Expression evaluation (.and.) in v17 Support 6
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
A How to? Can't change directory ("cd") into system hidden files Support 13
J Change folder TCC starts in Support 2
vefatica A small change Support 7
ehab aboudaya How to? change ALT-F6 to another key Support 1
S How to? Change thread prefix? Easy "create thread" method? Support 8
S Terminology change Support 2
Peter Bratton @ping behavior change Support 2
T signaling firstcondition and cannot change colors Support 8
newbie Change percent-sign to anything-else in filename Support 24
nikbackm Change format of DIR totals Support 3
Stefano Piccardi did the forum software change in the last two days? Support 2
nikbackm LocalHistory change Support 3
K Problem With SCRPUT /u Support 3
rps SCRPUT with /c or /u Support 3
T scrput `` in alias or function Support 2
R Odd Behaviour With NET USE Support 3
mfarah WAD Odd behaviour with command-line arguments on TCMD. Support 7
nikbackm @isdigit behaviour changed Support 3
newgeekorder Debugger IDE - strange tab and parameter behaviour Support 1
C STDOUT seeming broken in TCC.EXE! Strangest behaviour ever! Support 6
I on error[msg] unexpected behaviour Support 0

Similar threads