Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue long statements over multiple lines #8

Open
devenbansod opened this issue Dec 30, 2015 · 0 comments
Open

Continue long statements over multiple lines #8

devenbansod opened this issue Dec 30, 2015 · 0 comments
Assignees

Comments

@devenbansod
Copy link
Member

Some of the statements like https://github.com/SSMS-Pilani/Mess-Management-System/blob/master/Mess%20Management%20System/formAddSupplier.vb#L98
and especially where the query string has been defined, are very long indeed and it becomes very difficult to read and edit them.

We should start using the continuation character _ to split such long statements onto 2 or more lines.
Example of such change is here :

Dim query As String = "SELECT monthly_details.S_ID, student.NAME ,monthly_details.MEALS_NOT_TAKEN, " _

@AAP67 AAP67 self-assigned this Feb 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants