24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
else
Cbg = mtt_cbg(Name); # Structure for this subsystem
endif
## Argument aliasing
message = sprintf("\tfor component %s within %s",name,Name);
if struct_contains(cbg,"alias")
args = alias_args(args,cbg.alias,";",message,filenum,fullname);
endif;
## Substitute positional params
Args = eval(sprintf("Cbg.subsystems.%s.arg;", name));
args = subs_arg(args,Args,default,Name,"",name,filenum);
|
|
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
else
Cbg = mtt_cbg(Name); # Structure for this subsystem
endif
## Argument aliasing
message = sprintf("\tfor component %s within %s",name,Name);
if isfield(cbg,"alias")
args = alias_args(args,cbg.alias,";",message,filenum,fullname);
endif;
## Substitute positional params
Args = eval(sprintf("Cbg.subsystems.%s.arg;", name));
args = subs_arg(args,Args,default,Name,"",name,filenum);
|