Code: Select all
'' i want to randomize properties
type myRand
as long a = rnd
as long b = rnd
end type
'' But, error near last line: Base Illegal outside a CONSTRUCTOR ..
type myExtend extends myRand
as long c
declare sub rand_me
end type
sub myExtend.rand_me '' manual call
dim as myRand R
Base = R
end sub