- May
- 3,515
- 5
Many HELP pages contain tables where one column of the table shows a set of codes and another column shows the corresponding text. In some cases the codee is used as a parameter to a command or function, in others it is a return value. For example, @WININFO - input parameter value v. what information will be returned means; @DRIVETYPE - return value vs. description. @SERVER has two informal tables: one for the second parameter's value v. what will be returned, and for the case when the second parameter's value is Type lists what each bit of the returned value means.
One often wants to display the text associated with the codes. Embedding them in a batch file (or for that matter in any other source code) permanently is not a good option, since a new version (or sometimes a new build) of TCC may change the table (hopefully only by additions). I am looking for a way to access the information dynamically from TCC. One possible method is by including it in one or more files included in the TCMD distribution.
Charles Dye made a big step in this direction in the @SHFOLDER function of his uistuff.dll by permitting the use of the CSIDL names.
One often wants to display the text associated with the codes. Embedding them in a batch file (or for that matter in any other source code) permanently is not a good option, since a new version (or sometimes a new build) of TCC may change the table (hopefully only by additions). I am looking for a way to access the information dynamically from TCC. One possible method is by including it in one or more files included in the TCMD distribution.
Charles Dye made a big step in this direction in the @SHFOLDER function of his uistuff.dll by permitting the use of the CSIDL names.