Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Pure Laziness !!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mike ONeill
Tomato Guru

South Africa
103 Posts

Posted - Jul 09 2017 :  05:53:47 AM  Show Profile  Reply with Quote
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

feline
Whole Tomato Software

United Kingdom
18746 Posts

Posted - Jul 10 2017 :  1:47:57 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000