MaxTyutyunnikov / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

Enhancement: add REM command #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem
if we use new ;; command then we get Error 27: Unrecognised command

echo fred ;; # this is a comment
pause

if we had a REM command we could have

echo fred ;; REM this is a comment
REM This line is ignored too

and we would not get any error message as REM would be a valid command

Please provide any additional information below.

Strangely, we get no error messages if we add another valid command

echo fred ;; # this is a comment ;; is64bit
pause

Original issue reported on code.google.com by Steve6375 on 26 Mar 2013 at 11:40

GoogleCodeExporter commented 9 years ago
seems current does not support comment in commandline.(only in menu)

because in commandLine This is not necessary.

in batch you can comment out a line using "#" or "::"

Original comment by chenall.cn on 27 Mar 2013 at 12:19

GoogleCodeExporter commented 9 years ago
I am not sure what you mean?  The following menu shows an error

title fred
echo fred ;; # this is a comment
pause

Original comment by Steve6375 on 27 Mar 2013 at 10:44

GoogleCodeExporter commented 9 years ago
Try this ..

Original comment by chenall.cn on 28 Mar 2013 at 12:30

Attachments:

GoogleCodeExporter commented 9 years ago
title fred
echo fred ;; # this is a comment
pause

This now works as expected

Thanks
:-)

Original comment by Steve6375 on 28 Mar 2013 at 11:17

GoogleCodeExporter commented 9 years ago
Thanks too..

Original comment by chenall.cn on 28 Mar 2013 at 12:09