Welcome!

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

SignUp Now!

TCC V26.01.3x Debugging has problems with Alias /R

Sep
134
1
if I'm using multiline Aliasdefinitions in the file, e.g.
PrintL=Echo %@REPEAT[%1,%@DEC[%_COLUMNS]]
:----------------------------------------------------------------------
SaveColors=Set VG=%_FG% & Set HG=%_BG% &^
%@IF["%1" EQ "V",Echo SaveColors vg:%_fg `=>`%vg # hg:%_bg `=>`%hg%,]
RestoreColors=IFF DEFINED vg .AND. DEFINED hg THEN &^
%@IF["%1" EQ "V",Echo RestoreColors vg:%vg /hg:%hg%,] &^
Color %vg% On %hg% &^
ENDIFF

CS=Echo Colorsettings: %_fg On %_bg

then the cursorline will move down some lines after ALIAS /R MyAliasList.txt, but
the execution still continue at the next line in the script:
Code:
Setlocal
  Echo Read ALIAS-List
  Unalias *
  Memory
  alias
    ALIAS /R MyAliasList.txt
  Alias
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IFF %_TCCRT == 1 THEN
  Color 9E
  WINDOW /POS=100,064,674,900 /SIZE=80,30000 /TOP
ENDIFF

I can reproduce this in all versions of TCC and CMDebug V26.
It is very annoying, because I've a lot of multiline definitions in my Alias list.
 
Last edited:
Back
Top
[FOX] Ultimate Translator
Translate