I found that semi-colon are some time come to the end of the line. i.e.: end, else,... But just some time. Could you tell me when I need to put semi-colon to the line? And when I need not?
turbomen
0
Junior Poster
Recommended Answers
Jump to Postif (condition true)then Do something; {if you want to an 'else' part too then,do not put semi-colon} if (condition true)then Do something {do not here} Else Do anything;{Here} Because the semicolon at the end of 'if statement' is the sort version of 'If' {or the Begin..end;} { …
All 2 Replies
FlamingClaw
98
Posting Pro
turbomen
commented:
His answer is very clear to me.
+1
Duoas
1,025
Postaholic
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.