Mantis Bug Tracker

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000240mSLDevGeneral (other)public2014-09-27 02:132014-09-27 02:43
ReporterZmodem 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformWin7 64-bitOSWindows 7OS Version(6.1)
Product Version 
Target VersionFixed in Version 
Summary0000240: Using variable declaration on same line as opening block code, followed by $&, results in terrible block management
DescriptionFor some reason, you cannot declare a variable on the same line as an opening alias block, and then proceed to use $& to concatenate the lines together.
Steps To ReproduceCreate a new line, or a new script file, and type the following:

alias varwhat { var %1 = This, $&
    %2 = Will, $&
    %3 = Not Work
  echo -a %1 %2 %3
}

You will notice that there will be a block indicator around the %3. Sometimes, the block even showed up at the 'echo' statement (if I pushed the var %1 down one line, then backspaced up, it would variably 'block' the echo statement).
TagsNo tags attached.
Beta mIRC version?Check if it's a beta version
mIRC Version7.34
Attached Filesjpg file icon msldevbug.jpg [^] (9,871 bytes) 2014-09-27 02:13

- Relationships

-  Notes
(0000166)
Zmodem (reporter)
2014-09-27 02:43

Okay, this seems to be the case with doing ANY line modifications to the immediate code block opening:

alias testthis { echo -a This | $&
    echo -a Should | $&
    echo -a Work
}

- Issue History
Date Modified Username Field Change
2014-09-27 02:13 Zmodem New Issue
2014-09-27 02:13 Zmodem File Added: msldevbug.jpg
2014-09-27 02:43 Zmodem Note Added: 0000166


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker