You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
Mike ONeill
Posted - Jul 09 2017 : 05:53:47 AM Hi
If I have an existing method say Print, I am going to type
Print();
VA puts the () in for me but could it also put in the semi colon.
I assume that VA tracks what context Is applicable ie calling a Method from within another method etc.
I say laziness but it makes some sense
Mike
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Jul 10 2017 : 1:47:57 PM This has come up before, the concern is how to tell when we should add the semi-colon and when we should not. Multi-line statements are common, or you could be about to operate on the return value of the function.
If we start adding the semi-colon at the wrong time its something else you have to remove.