Opened 20 years ago
Closed 20 years ago
#214 closed enhancement (fixed)
MakeGlobal could improve its behavior
Reported by: | danirus | Owned by: | danirus |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | Kernel | Version: | head |
Severity: | minor | Keywords: | |
Cc: |
Description
If we want to use MakeGlobal to export more than one local variable we must use
a little trick not enough elegant but usefull (See message from Iván in the list
accesible in the given URL). Would be better if we could export more than one
variable, and in every place of the local scope. We can also improve the
function english description.
Get more information (reading the spanish discussion related with this
enhancement) through the given URL.
Change History (2)
comment:1 Changed 20 years ago by
Status: | new → assigned |
---|
comment:2 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This enhancement has been done.
You can export (or promote to global scope) any local variable:
That code created "a", "x", and "y" and export "locA" and "locB".