D.
Member²
Hi,
When creating documentation tags using plsqldoc, i have inserted certain tags (eg. #AUTHOR) inside a /* .... */ comment block. The author tag is on a line by itself, with the '#' as the first character on the line. Through PLSQL Devloper this is fine, generates great documentation and compiles successfully. But when running the same script through SQL*Plus, you get:
SP2-0734: unknown command beginning "AUTHOR" - rest of line ignored.
This doesn't happen if you put a space before the '#'. Any clue as to why SQL*Plus would be interpreting this as a command when it's inside a comment block ?
Offending code below ...
CREATE OR REPLACE PACKAGE test_pkg AS
/******
SYNOPSIS: One sentence end with a full stop.
#AUTHOR author.
*******/
END test_pkg;
/
Thanks,
D.
When creating documentation tags using plsqldoc, i have inserted certain tags (eg. #AUTHOR) inside a /* .... */ comment block. The author tag is on a line by itself, with the '#' as the first character on the line. Through PLSQL Devloper this is fine, generates great documentation and compiles successfully. But when running the same script through SQL*Plus, you get:
SP2-0734: unknown command beginning "AUTHOR" - rest of line ignored.
This doesn't happen if you put a space before the '#'. Any clue as to why SQL*Plus would be interpreting this as a command when it's inside a comment block ?
Offending code below ...
CREATE OR REPLACE PACKAGE test_pkg AS
/******
SYNOPSIS: One sentence end with a full stop.
#AUTHOR author.
*******/
END test_pkg;
/
Thanks,
D.