If I want to fully copy a TYPE rather than creating a second reference to the same TYPE, does the compiler do that for me with:
Code: Select all
bTypeCopy = aType
Code: Select all
bTypeCopy = aType
Code: Select all
type aType
x as integer
end type
dim as aType a, b
a.x = 5
b = a
print b.x
a.x = 2
print b.x 'still 5
end
Code: Select all
type aType
x as integer
end type
dim as aType a
a.x = 5
dim as aType b = a
print b.x
a.x = 2
print b.x 'still 5
sleep