V12 suggestions

May 20, 2008
3,515
4
Elkridge, MD, USA
Most of what's below I suggested previously, but renew it for V12.

1/ When using the INIKEY version, the registry should not be modified by
TCMD or TCC. Any information needed to be saved should be stored a/ in a
list functionally similar to the global lists, kept alive while the user is
logged in via a SHRALIAS clone (not by SHRALIS itself to retain user control
of SHRALIAS), or b/ in a file on the device whence TCMD or TCC is loaded,
specifiable either in the command starting TCMD/TCC or in the .INI file.

2/ Each top level instance of TCC should create a list of variables
modifiable from its own child instances of TCC. "Top level" here means that
exiting TCC (and its parents) would not return to another TCC instance. A
new variable function could be created to retrieve the value of a variable
from the top level list instead of a local environment variable of the same
name. Modifying the top level list would require a new option for the SET
command.

3/ A shared global list of variables with similar features to the top level
variables list above, but shared by all instances in the manner of global
aliases, retained by SHRALIAS.EXE when no TCC instance exists. Would require
new option in SET to access. Hierarchy of variable retrieval for identical
names, using the simple % convention, would be first one found: GOSUB
parameter variables, environment (local) variables, top level variables,
global variables. This order is essentially the same as that used by the
C/C++ languages for nested code blocks - the innermost definition is used.

4/ Concurrent local and global aliases and functions. If a given name exists
in both the local and global list, normal usage would access the local one.
New functions could be added to be able to override the retrieval order. The
/G and /L options of the ALIAS and FUNCTION commands would cause accessing
the specified list . The commands with neither option would access the
default (global or local) list as selected when the current TCC instance was
started.

5/ SETLOCAL should be truly local, i.e., even in a TCC instance using global
aliases, SETLOCAL should copy the global lists into local lists, and any
commands between SETLOCAL and the corresponding ENDLOCAL (explicit or
implicit) would access these local lists, unless an explicit /G option is
used. If the local list already existed, identically named global list
entries would be dropped, or placed in the list in a position where standard
search would find the local entry first.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
epement differences in IDE/debugger between v12 and v14 Support 1
D ftp crashes tcmd v12.11 and 13.01 Support 10
G V12.11.76 DESCRIPT.ION Oddities Support 3
mikea TCC v12 startup questions Support 15
N TCC v12.10 COPY /F does not work Support 10
B Need To Deactivate V12.1 Before Reinstall To Different Directory? Support 3
C Cannot register v12.10 without Internet access Support 19
Peter Bratton Registering v12.10 Support 3
B TCC v12 display double problem Support 2
B Lockups with TakeCommand v12 Support 17
millardjk Portable v12.01? Support 22
rconn Take Command v12 12.01.44 uploaded Support 9
rconn Take Command v12 12.0.42 uploaded Support 0
rconn Take Command v12 12.0.41 uploaded Support 0
rconn Take Command v12 12.0.39 uploaded Support 0
rconn Take Command v12 12.0.38 uploaded Support 0
J TCC/TCMD V12 expired Support 4
mscheuner TCMD v12 - how to make it remember position and settings? Support 2
rconn Take Command v12 12.0.37 uploaded Support 0
rconn Take Command v12 12.0.36 uploaded Support 0
nikbackm unzip issues in v12 Support 12
rconn Take Command v12 12.0.35 uploaded Support 0
rconn Take Command v12 12.0.34 uploaded Support 0
A Flicker in v12 Support 6
H Minor bug in v12 SENDMAIL Support 0
K_Meinhard TCC LE V12 problem with registering Support 1
J Problems after installing V12 Support 3
J Odd V12 TCMD issue Support 5
J V12 PDIR failure Support 1
J Problem with V12 and 4UTILS plugin Support 1
rconn v12 Release Build test - 32-bit fixed Support 36
rconn v12 Release Build test Support 4
rconn Take Command v12 beta 12.0.29 uploaded Support 14
H Unzip /F and /U not working in V12 Support 3
H V12 UNZIP very slow under certain circumstances Support 3
H V12 Zip encryption Support 1
samintz V12 Help Nits Support 5
rconn Last call for v12 feature requests Support 59
rconn News Take Command v25 Suggestions Support 0
rconn News Suggestions Forum Support 8
D Started suggestions, not in this version (yet?) Support 1
C Suggestions for Compare Folder Tree routine Support 5
S Closing date for V16 suggestions Support 1
J Suggestions... Support 1
S HELP suggestions - What's New page Support 3
M Any suggestions for Windows 7 Virtual PC? Support 3
dcantor Comments and suggestions on functions for binary buffers Support 4
C Few questions and suggestions Support 2
rconn Suggestions for v10 Support 5

Similar threads