Hi,
I'd like to report a really strange behavior of the Intersystems Lite Terminal after executing a simple ObjectScript instruction.
From the Intersystems Lite terminal, execute the following instructions:
- Set uniqueId = "12345678_1"
- Set uniqueId = $p(uniqueId,"_",1)_"_"_($p(uniqueId,"_",*)+1)
After executing the second instruction, the terminal closes without any error.
Even stranger, when the second instruction is executed with 2 instead of 1, it executes correctly:
- Set uniqueId = "12345678_1"
- Set uniqueId = $p(uniqueId,"_",1)_"_"_($p(uniqueId,"_",*)+2)
- Write uniqueId
12345678_3