G
Guest
Hi , I have a doubt.
Let's say I define the following structure:
structure strTest
dim value_1 as decimal
dim value_2 as decimal
end structure
As the definition, each instance of this structure will take 16+16=32 bytes
space, which is conflicting with the value varible definition. As a result,
this one is NOT a value variable and it will be stored in managed heap
instead of STACK.
Please correct me if I am wrong. Thanks.
Let's say I define the following structure:
structure strTest
dim value_1 as decimal
dim value_2 as decimal
end structure
As the definition, each instance of this structure will take 16+16=32 bytes
space, which is conflicting with the value varible definition. As a result,
this one is NOT a value variable and it will be stored in managed heap
instead of STACK.
Please correct me if I am wrong. Thanks.