Type "nothing"
Posted: Sun Dec 09, 2018 2:36 am
With this code:
The type of X1 is "num".
But with this other code:
The type of X1 is "nothing" instead of "num", with X1 being previously declared as a global variable from other script.
¿Why the nothing type, if X1 already existed?
if you need to know, what I am trying to do is something like this, to reuse several global variables already declared from another script:
Code: Select all
:global X1 1
:global type1 [:typeof $X1]
But with this other code:
Code: Select all
:global i 1
:execute ":global X$i"
:global type2 [:typeof $X1]
¿Why the nothing type, if X1 already existed?
if you need to know, what I am trying to do is something like this, to reuse several global variables already declared from another script:
Code: Select all
:for i from=1 to=4 do={
:execute ":global IP$i"
}