|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #64705] VM machine executed script clear the content of a global pre-declared global variable |
Date: | Sat, 23 Sep 2023 22:59:53 -0400 (EDT) |
Follow-up Comment #1, bug #64705 (project octave): Add on: The VM throws an error when checking the status of a global variable in a script: "error: VM internal error: Invalid call to get_scope_flag_internal" file test4.m ------------------------ +/- if (isglobal("x")) printf("x is global.\n"); else printf("x is NOT global.\n"); endif +/- ---------------------------- +/- __enable_vm_eval__ (0); global x; __enable_vm_eval__ (1); source test4.m +/- --> "error: VM internal error: Invalid call to get_scope_flag_internal" _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?64705> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |