Hashtag symbol # in JOBI cannot be deleted

Document ID : KB000087689
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :
U01001308 Variable 'hnd' has not yet been defined.

An extra hashtag symbol (#) in new JOBI object cannot be deleted. This is a random display issue when JOBI objects are opened that varies based on the system. 
In some environments, 3-5 open actions of the object are required for the extra hashtag to appear.

1. Create a new JOBI.
2. Add the following lines under the first lines:

:set &hnd#=str_find(&string#,"hello")
:p &hnd#

3. Save.


Cause type:
Root Cause: The last character cannot be deleted in the script editor. The issue may happen after a copy and paste into the script editor.
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: Released

Fix Version(s):
Automation Engine 11.2.2 - already available
Additional Information:
Workaround :
Restart of the User Interface for the extra # (hashtag) to disappearOrComment the # (hashtag).