How to work on 2D array?
Posted: Fri 30. Sep 2016, 15:32
As shown in the following symbol file code.
---------------------------------------------
FormatVersion=5.0 // Do not edit!
{ENUMS}
Enum Group(1="Group1",
2="Group2",
3="Group3")
Enum Group1(1="G11",
2="G12",
3="G13",
4="G14",
5="G15" )
Enum Group2(1="G21",
2="G22",
3="G23",
4="G24",
5="G25" )
Enum Group3(1="G31",
2="G32",
3="G33",
4="G34",
5="G35" )
{SEND}
[SendSymbol]
ID=100
DLC=3
Var=G unsigned 0,8 /e:Group
Var=GG unsigned 8,8 ????
Var=Value unsigned 16,8
---------------------------------------------
How can we write the symbol file to setup GG (ENUM of Group1 or Group2 or Group3) by using the selected Group (G) automatically ?
---------------------------------------------
FormatVersion=5.0 // Do not edit!
{ENUMS}
Enum Group(1="Group1",
2="Group2",
3="Group3")
Enum Group1(1="G11",
2="G12",
3="G13",
4="G14",
5="G15" )
Enum Group2(1="G21",
2="G22",
3="G23",
4="G24",
5="G25" )
Enum Group3(1="G31",
2="G32",
3="G33",
4="G34",
5="G35" )
{SEND}
[SendSymbol]
ID=100
DLC=3
Var=G unsigned 0,8 /e:Group
Var=GG unsigned 8,8 ????
Var=Value unsigned 16,8
---------------------------------------------
How can we write the symbol file to setup GG (ENUM of Group1 or Group2 or Group3) by using the selected Group (G) automatically ?