Hi,
I don't think this is valid, considering the Core Language spec.
and its description of 'behaviour' in connection with functions
and/or alt steps.
I believe you could write:
function MyFunc()
{
var integer i;
i := 1;
var integer j;
j := 10;
}
...or similar.
Regards, Eldor
Eldor Roedseth (MD)
SystemSoft AS
www.systemsoft.no
Cellular: +47 950 86888
Opprinnelig melding
Fra: Active_TTCN3 : MTS STF133 TTCN Version 3 - Active Members Only [
This email address is being protected from spambots. You need JavaScript enabled to view it.]PÃ¥ vegne av jacon_wang
Sendt: Tuesday, December 17, 2002 12:08 PM
Til:
This email address is being protected from spambots. You need JavaScript enabled to view it.
Emne: question about the StatementBlock
hi.
I am wondering whether the following function definition is valid or not.
Thanks in advance.
function MyFunc()
{
var integer i;
i := 1;
/* Could the following StatementBlock appear in the function definition? */
{
var integer j;
j := 10;
}
}
--
Engineering is the art of making what you want from
things you can get.
★★★★★★★★★★★★★★★★★★★★★★★★★★★★
★Department of Automation ★
★The University of Science and Technology of China ★
★RoomX11-215,Jinzai Road,Hefei,Anhui,China ★
★
★
★Tel: +865513630653(H),+865513606534-3016(O) ★
★Email:
This email address is being protected from spambots. You need JavaScript enabled to view it. ★
★★★★★★★★★★★★★★★★★★★★★★★★★★★★