Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Error when sorting list alphabetically for @select

Aug
2,134
92
Hi,
I am using;

TCC 11.00.50 Windows XP [Version 5.1.2600]
TCC Build 50 Windows XP Build 2600 Service Pack 3

I have a plain text file called results.txt, containing 303 lines.

When I do the following;

set thesong=%@select[results.txt,1,1,25,80,Song Info,1]

I receive the error message from Windows,

"TCC has encountered a problem and needs to close. We are sorry for the inconvenience."
"Please tell Microsoft about this problem"

I choose "Don't Send", and TCC crashes and exits.

I have tried different text files, all with the same result.

If I leave the optional 7th parameter 1 off of @select, I get no error. The optional 1 allows the list to be sorted alphabetically, which is what I want.

It would seem that the optional 7th parameter 1 is what is causing the crash.

Please advise as to what I am not doing correctly.

Joe

 
Error when sorting list alphabetically for @select

I can reproduce this problem in both V11 and V12.

On Sun, Jun 27, 2010 at 6:49 AM, Joe Caverly <> wrote:


> Hi,
> I am using;
>
> TCC 11.00.50 Windows XP [Version 5.1.2600]
> TCC Build 50 Windows XP Build 2600 Service Pack 3
>
> I have a plain text file called results.txt, containing 303 lines.
>
> When I do the following;
>
> set thesong=%@select[results.txt,1,1,25,80,Song Info,1]
>
> I receive the error message from Windows,
>
> "TCC has encountered a problem and needs to close. We are sorry for the
> inconvenience."
> "Please tell Microsoft about this problem"
>
> I choose "Don't Send", and TCC crashes and exits.
>
> I have tried different text files, all with the same result.
>
> If I leave the optional 7th parameter 1 off of @select, I get no error.
> The optional 1 allows the list to be sorted alphabetically, which is what I
> want.
>
> It would seem that the optional 7th parameter 1 is what is causing the
> crash.
>
> Please advise as to what I am not doing correctly.
> Joe
>
>
>
>
>
>



--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 
On Sun, 27 Jun 2010 10:31:47 -0400, Jim Cook <>
wrote:

|> set thesong=%@select[results.txt,1,1,25,80,Song Info,1]
|>
|> I receive the error message from Windows,
|>
|> "TCC has encountered a problem and needs to close. We are sorry for the
|> inconvenience."

I get it too, even with a small file. I tried a 6-line batch file in
which the body of a DO loop was indented with tabs. The tabs showed
up in the selection box as unprintables (boxes) and the selection box
showed a seventh line (sorted first) of just two unprintables.

When I dismissed the box (Enter, Esc, or "X") the crash occurred ...
0xC0000005 at 0x1005e478

--
- Vince
 
Back
Top
[FOX] Ultimate Translator
Translate