HELP nits

May 20, 2008
3,515
4
Elkridge, MD, USA
1/ Topic "ANSI X3.64 Support"
Bad grammar. At end of 3rd sentence add "commands". In 4th sentence change "TCC" to "TCC's".

2/ Topic "Limits", Table "Miscellaneous Limits"
Isn't "character count in any function" entry a duplication of the "user defined functions" entry in the "Length Limits" table?
I believe the penultimate entry, "key substitution table", is obsolete. It had referred to the unsupported key substitution feature of ANSI X3.64.
Missing limits (in many cases the actual limit is resources available to TCC):
- number of environment variables, aliases, user defined functions, arrays
- size of an individual array dimensions
- total size of an array
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
2/ Topic "Limits", Table "Miscellaneous Limits"
Isn't "character count in any function" entry a duplication of the "user defined functions" entry in the "Length Limits" table?

No, it's completely different. Character count in a function is the maximum number of characters you can pass / return inside a function (between the []'s). The UDF size is the maximum size of an individual function.

I believe the penultimate entry, "key substitution table", is obsolete. It had referred to the unsupported key substitution feature of ANSI X3.64.

No, it refers to the key table in the TCMD.INI file.

Missing limits (in many cases the actual limit is resources available to TCC):
- number of environment variables

No limit (other than RAM, but that's a Windows limit, not TCC).


If global, it's already defined. If local, no limit (other than RAM).

user defined functions

Ditto.

arrays
- size of an individual array dimensions

No limit other than RAM.

total size of an array

No limit other than RAM.
 
Jul 1, 2008
81
0
74
Montreal

Attachments

  • keystack.jpg
    keystack.jpg
    31.6 KB · Views: 67
May 20, 2008
3,515
4
Elkridge, MD, USA
From: rconn
| From: Peter Bratton
|| 3/ Topic "Keystack"
|| No mention of the exclamation mark argument that used to clear the
|| keyboard buffer. If it still does the job, shouldn't "keystack !" be
|| mentioned?
|
| There is no such argument.

I just went back into older HELP files. V8 listed the ! as clearing the keyboard buffer and keystack. V9 command line showed the optional ! character without description. V10 and ff. no longer document it. The batch files I have which use it do not report errors even in the latest V12.10.67. Why was it dropped? What alternative is available to guarantee that the keystrokes delivered to a program are exactly what is intended, without any leftover characters?
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
I just went back into older HELP files. V8 listed the ! as clearing the keyboard buffer and keystack. V9 command line showed the optional ! character without description. V10 and ff. no longer document it. The batch files I have which use it do not report errors even in the latest V12.10.67. Why was it dropped? What alternative is available to guarantee that the keystrokes delivered to a program are exactly what is intended, without any leftover characters?

It was a 4DOS leftover. It was never supported in 4NT / TCC (it's impossible in a multitasking OS). There can never be any leftover characters.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
From: rconn
| It was a 4DOS leftover. It was never supported in 4NT / TCC (it's
| impossible in a multitasking OS). There can never be any leftover
| characters.

What does this mean when consecutive KEYSTACK commands are issued with the same window active? Does each KEYSTACK command wait for all its actions to be completed before the next one is executed, or do subsequent commands clear that window's keyboard buffer, effectively removing part or all of the previous command's actions?
--
Steve
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,461
88
Albuquerque, NM
prospero.unm.edu
What does this mean when consecutive KEYSTACK commands are issued with the same window active? Does each KEYSTACK command wait for all its actions to be completed before the next one is executed, or do subsequent commands clear that window's keyboard buffer, effectively removing part or all of the previous command's actions?

Neither one; the keys are just added to a, um, queue.
 
May 20, 2008
3,515
4
Elkridge, MD, USA
From: rconn
|| 2/ Topic "Limits", Table "Miscellaneous Limits"
|| Isn't "character count in any function" entry a duplication of the
|| "user defined functions" entry in the "Length Limits" table?
|
| No, it's completely different. Character count in a function is the
| maximum number of characters you can pass / return inside a function
| (between the []'s). The UDF size is the maximum size of an individual
| function.

I would suggest clarified wording and making input and output limits more explicit, so that this entry would not mislead even long-time users, e.g.,
"combined size of all function parameters" and
"size of user defined function's return string"

|| I believe the penultimate entry, "key substitution table", is
|| obsolete. It had referred to the unsupported key substitution feature
|| of ANSI X3.64.
|
| No, it refers to the key table in the TCMD.INI file.

What key table?

|| Missing limits (in many cases the actual limit is resources available
|| to TCC):
|| - number of environment variables
...
|
| No limit (other than RAM, but that's a Windows limit, not TCC).

Suggest each item be added to tables.
--
Steve
 
Similar threads
Thread starter Title Forum Replies Date
Charles Dye More help nits Support 0
Charles Dye Documentation Help nits: @ZIPFILECRC Support 0
R Documentation A couple of Help nits Support 0
Charles Dye Documentation Help Nits Forever: Checksum functions Support 0
samintz Documentation Help nits Support 5
Charles Dye Revenge of the Help Nits Support 0
samintz Documentation Help Nits Support 3
JohnQSmith Ye olde Help Nits Support 4
Charles Dye Doc nits: HELP BATCHDETECT Support 2
S Fixed Help nits Support 7
Charles Dye The eternal Help Nits thread Support 0
C web help nits Support 1
S More HELP nits Support 5
S SET /A question; HELP nits Support 8
S HELP nits Support 1
S HELP nits Support 0
dcantor 12.1 help nits Support 0
S HELP nits Support 3
samintz V12 Help Nits Support 5
S HELP nits Support 3
C Add link to ewriter help to program group... Support 3
samintz How to? Search for %(command) in Help? Support 1
Joe Caverly Favorites in eWriter Help Support 6
Joe Caverly Quick Search in eWriter Help Support 1
vefatica Online help? Support 2
fishman@panix.com HELP!! I just updated to Version 28 and as usual I cannot make extended directory search work. Support 2
JohnQSmith New online help file wrong logo Support 7
Jay Sage Documentation Function @DRIVE Missing in Help Lists Support 0
D Documentation Typo in COPY help Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly Documentation COMMANDS in Version 27 help Support 8
K_Meinhard How to? Help window position Support 7
U Command help on file names Support 5
D Documentation Help "Startup" page does not describe global lists Support 0
vefatica Help disappears? Support 6
rchapmanitt Help Purchasing Support 2
C version help Support 3
C Documentation Help Nit. REN / RENAME Support 0
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
vefatica Help for @PID Support 2
vefatica Need help with XML Support 3
Alpengreis Documentation Minor issue in help file for view /E Support 1
R Documentation Advanced Directives Help Support 0
R Documentation Help Nit with SETP Support 0
R wmic command help Support 9
R Documentation Help Nit > bdebugger View Menu Support 0
R Documentation Help typo Support 1
MikeBaas How to? I need help with RD Support 5
R Documentation v25 Help Comments Support 1
Joe Caverly DIRectory Colorization in v25 Help File Support 0

Similar threads