Newbie here. My constant became a variable when it was initially a constant..
DeanFarhan
Posts: 1
Hi Guys,
I found some peculiar behaviour when defining this variable. Initially, when I wrote this, it was ok. After doing some debugging and commenting out this variable several times....this occur.
When defining DEV vdvDev[] = {vdvNECNPPA600X1}...the vdvNECNPPA600X1 became a variable instead of a constant.
The rest of the vdvNECNPPA600X maintain as constant.
DEV vdvDev[] = {vdvNECNPPA600X1}
DEV vdvDev2[] = {vdvNECNPPA600X2}
DEV vdvDev3[] = {vdvNECNPPA600X3}
DEV vdvDev4[] = {vdvNECNPPA600X4}
I tried renaming it but it still stay as variable. I even delete it and rewrite it but still remain as a variable. If I write it as vdvNECNPPA6002, it will change as constant which is correct.
A bit lost here. I hope you guys can help me out.
I found some peculiar behaviour when defining this variable. Initially, when I wrote this, it was ok. After doing some debugging and commenting out this variable several times....this occur.
When defining DEV vdvDev[] = {vdvNECNPPA600X1}...the vdvNECNPPA600X1 became a variable instead of a constant.
The rest of the vdvNECNPPA600X maintain as constant.
DEV vdvDev[] = {vdvNECNPPA600X1}
DEV vdvDev2[] = {vdvNECNPPA600X2}
DEV vdvDev3[] = {vdvNECNPPA600X3}
DEV vdvDev4[] = {vdvNECNPPA600X4}
I tried renaming it but it still stay as variable. I even delete it and rewrite it but still remain as a variable. If I write it as vdvNECNPPA6002, it will change as constant which is correct.
A bit lost here. I hope you guys can help me out.
0
Comments