Matches in SemOpenAlex for { <https://semopenalex.org/work/W157076184> ?p ?o ?g. }
Showing items 1 to 73 of
73
with 100 items per page.
- W157076184 endingPage "31" @default.
- W157076184 startingPage "31" @default.
- W157076184 abstract "Tcl/Tk supports code constructs that can reduce the amount of code that needs to be changed when code is modified.The following examples and brief discussion explain some code conventions that can reduce code maintenance.Shell or C programmers are familiar with using a switch statement to parse a command line. In Tcl the command line parsing code can reformat the arguments into Tcl commands. This allows new command line arguments to be added without code modification.One such convention is -varName value, which can be parsed by a set of code resembling example 1.The names of global variables can be placed in a list to be evaluated by procs which need access to them. This creates a single point of change when new variables need to be declared global. Example 2 shows sample code.Menu construction can be data driven instead of code driven. For example, a program which processes the contents of files can have the file selection menu built with the Tcl glob command. This allows new files to be automatically included in the menu. The traditional method of hardcoding a list of items to place in a menu would require a code modification whenever new files are added (or a new BaseDirectory is selected from the command line). See Example 3.Saving and restoring state arrays can also be data driven instead of code driven. Tcl can report all of the indices of an array. This list can then be used to drive the code which saves these values. By saving the variables as a Tcl command string, the state can be restored with the source command. See Example 4.Further examples and discussion are included in the posters.These conventions were developed while writing, extending and maintaining TclTutor.tk which is available at: http://www.msen.com/~clif. Clif Flynt can be reached as clif@clif.ypsi.mi.us" @default.
- W157076184 created "2016-06-24" @default.
- W157076184 creator A5034837629 @default.
- W157076184 date "1997-07-14" @default.
- W157076184 modified "2023-09-25" @default.
- W157076184 title "Coding techniques for reducing code maintenance" @default.
- W157076184 hasPublicationYear "1997" @default.
- W157076184 type Work @default.
- W157076184 sameAs 157076184 @default.
- W157076184 citedByCount "0" @default.
- W157076184 crossrefType "journal-article" @default.
- W157076184 hasAuthorship W157076184A5034837629 @default.
- W157076184 hasConcept C105795698 @default.
- W157076184 hasConcept C111919701 @default.
- W157076184 hasConcept C133162039 @default.
- W157076184 hasConcept C151578736 @default.
- W157076184 hasConcept C177264268 @default.
- W157076184 hasConcept C179518139 @default.
- W157076184 hasConcept C186644900 @default.
- W157076184 hasConcept C199360897 @default.
- W157076184 hasConcept C199519371 @default.
- W157076184 hasConcept C26517878 @default.
- W157076184 hasConcept C2776760102 @default.
- W157076184 hasConcept C2777904410 @default.
- W157076184 hasConcept C33923547 @default.
- W157076184 hasConcept C41008148 @default.
- W157076184 hasConcept C43126263 @default.
- W157076184 hasConcept C47434764 @default.
- W157076184 hasConceptScore W157076184C105795698 @default.
- W157076184 hasConceptScore W157076184C111919701 @default.
- W157076184 hasConceptScore W157076184C133162039 @default.
- W157076184 hasConceptScore W157076184C151578736 @default.
- W157076184 hasConceptScore W157076184C177264268 @default.
- W157076184 hasConceptScore W157076184C179518139 @default.
- W157076184 hasConceptScore W157076184C186644900 @default.
- W157076184 hasConceptScore W157076184C199360897 @default.
- W157076184 hasConceptScore W157076184C199519371 @default.
- W157076184 hasConceptScore W157076184C26517878 @default.
- W157076184 hasConceptScore W157076184C2776760102 @default.
- W157076184 hasConceptScore W157076184C2777904410 @default.
- W157076184 hasConceptScore W157076184C33923547 @default.
- W157076184 hasConceptScore W157076184C41008148 @default.
- W157076184 hasConceptScore W157076184C43126263 @default.
- W157076184 hasConceptScore W157076184C47434764 @default.
- W157076184 hasLocation W1570761841 @default.
- W157076184 hasOpenAccess W157076184 @default.
- W157076184 hasPrimaryLocation W1570761841 @default.
- W157076184 hasRelatedWork W1006658347 @default.
- W157076184 hasRelatedWork W1198586009 @default.
- W157076184 hasRelatedWork W1512384007 @default.
- W157076184 hasRelatedWork W1558065798 @default.
- W157076184 hasRelatedWork W1605124710 @default.
- W157076184 hasRelatedWork W2188643437 @default.
- W157076184 hasRelatedWork W2211023773 @default.
- W157076184 hasRelatedWork W2339643365 @default.
- W157076184 hasRelatedWork W2568961782 @default.
- W157076184 hasRelatedWork W2591061147 @default.
- W157076184 hasRelatedWork W2596025179 @default.
- W157076184 hasRelatedWork W2616816954 @default.
- W157076184 hasRelatedWork W2786792802 @default.
- W157076184 hasRelatedWork W3022454619 @default.
- W157076184 hasRelatedWork W44287494 @default.
- W157076184 hasRelatedWork W1712834168 @default.
- W157076184 hasRelatedWork W2417576220 @default.
- W157076184 hasRelatedWork W2769559555 @default.
- W157076184 hasRelatedWork W2860803292 @default.
- W157076184 hasRelatedWork W975653959 @default.
- W157076184 isParatext "false" @default.
- W157076184 isRetracted "false" @default.
- W157076184 magId "157076184" @default.
- W157076184 workType "article" @default.