Public assignment (i.e. using =:) to a name that is privately defined (i. e. with =.) is a domain error, and is the only way to get domain error on a simple assignment.

Henry Rich

On 1/25/2020 8:58 AM, 'Sergey Kamenev' via Beta wrote:
Hi!

./parse_block.ijs
99
|domain error: script
|   aJson    =:d
|[-10] /home/inetstar/Kamenev/programming/btc/./parse_block.ijs

Code calling error is very simple (full code in attached script).

But specific is my variable with parsed Json

d =: aJson
aJson =: d   NB. Error string


Nice day!
Sergey






----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to