answersLogoWhite

0

Syntax and Loop are two completely different concepts.

  • A "Loop" is a programming entity.
  • Syntax are the rules and guidelines that define the structure of the usage of a language (especially in programming). In simple terms, it is the "Grammer" of a language.
Further on Loops: As the name suggests, a loop is a set of instructions given to the computer to continually perform a set of tasks only interrupted by the fulfilment of a condition. For instance, consider a loop in Visual Basic, for x = 1 to 10 'perform these tasks end for This loop repeats the tasks 10 times and then continues with the rest of the statements.
User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is the definition and syntax of for next loops?

loop within in a loop is called for next loop


What is the syntax for writing a loop in pseudo code?

The syntax for writing a loop in pseudo code typically involves using keywords like "for", "while", or "do-while" to indicate the type of loop, followed by the loop condition and the code block to be executed within the loop.


Syntax of for loop in c language?

for(i=0;i<=0;i++)


Difference between syntax tree and parse tree?

i dont know but i


Difference between break and continue statements in wml?

Break statements:-its terminates the current while or for loop and continue the program execution from the statement following the terminated.NOTE:-note that it is wmlscript syntax error to use the break statement outside of while or a for statements.example;Breakstatement:Break;Continue statement:-this statement terminate execution of a block of statementin while or for loop and continues execution of loop with the next iteration.note that the continue statement does not terminate the execution of loop and also is wmlscript syntax error to use the break statement outside of while or a for statements.-> in while loop, it jumps back to the condition.-> in for loop,it jumpsto the update expression.syntax:continuestatement:continue;


What is the difference between a loop and a whorl fingerprint?

That a loop is curved and a whorl is shaped like a wave.


What is a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


What are the basic difference between c sharp and vbnet?

They use different syntax.


What is the difference between a do while loop and a for loop in c?

the counter variable cannot be initialized in while loop before entering into the block.


What is the difference between syntax and grammar?

Syntax refers to the arrangement of words in a sentence to create meaning, while grammar encompasses the rules and structure of a language, including syntax, morphology, and semantics.


What is the difference between a loop pedal and a delay pedal?

A Loop pedals recorded sound does not fade (decay).


What is the difference between do while and for loop?

do { //statements }while(condition); The statements inside the block get executed at-least once, no matter what condition you have placed. Only from the 2nd time the condition is checked, simply because the condition is at the last. for(initialization; condition; updation) { //statements } Here the statements don't get executed even once if the condition fails initially. The condition is at the entry itself.