More code cleanup- make nsf compilable with tcl 8.7.2 and TCL_NO_DEPRECATED turned on- prefer bool over int- reduce nr of returns before end of function- line bread overlong function definitions
remove various code smells: - add const declarations - prefer boolean tests - don't write "for" loops without a block - don't pass non-initialized value in an array on index [0] - reduce variable scope - prefer single returns statements in functions - dont't use CONST unless defined by Tcl-API