is it possible to assign a variable a value at declaration?
the main reason i would like to do this is im using user-defined types but would like each of them to start with preset values but cant use consts as they will change during the applications execution
im currently using a subroutine and passing each variable that uses the type but this is long-winded and id like a shorter way of doing things
any help much appreciated
I can't be bothered to have a sig!
the main reason i would like to do this is im using user-defined types but would like each of them to start with preset values but cant use consts as they will change during the applications execution
im currently using a subroutine and passing each variable that uses the type but this is long-winded and id like a shorter way of doing things
any help much appreciated
I can't be bothered to have a sig!