Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search

gtar100

(4,192 posts)
3. If you've got a file to read into the program,
Thu Jan 24, 2019, 10:39 PM
Jan 2019

name the variable representing the file "if". I was the lucky recipient of a series of scripts written in Tcl/Expect and the programmer did just that.

set if filename

Scratched my head for a bit until I finally realized what he'd done.

Recommendations

0 members have recommended this reply (displayed in chronological order):

Latest Discussions»Retired Forums»Website, DB, & Software Developers»How To Write Unmaintainab...»Reply #3