#1487 closed task (fixed)
UsingNameBlock import StartActions
Reported by: | Jorge | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | high | Milestone: | Mantainance |
Component: | Kernel | Version: | 3.1 |
Severity: | critical | Keywords: | |
Cc: |
Description
Al importar un NameBlock se tiene la opción de importar o no los miembros privados y readonly, los cuales por omisión no se importan.
Se solicita la posibilidad de poder escoger que se importe o no algunos miembros especiales como el StartActions. Pudiera servir un tercer argumento:
Real usingStartActions = False;
por omisión debería estar a falso. Si es true
el miembro StartActions se importa, no se importa si es false
.
Change History (5)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
El siguiente código ilustra que StartActions está importándose al scope global
#Require MatQuery; UsingNameBlock( MatQuery ); If( ObjectExist( "Code", "StartActions" ), WriteLn( "StartActions ha sido importado al scope global" ) );
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
(In [4404]) Fixes #1487