Oracle Error PLS-00177: ‘$string’ preprocessor directive does not end properly

Oracle Error Message

PLS-00177: ‘$string’ preprocessor directive does not end properly

Reason for the Error

A preprocessor directive was not ended properly.

Solution

Use $end to end the preprocessor directive properly.