May 10th, 2017, 09:02 AM  #1 
Member Joined: May 2014 From: Allentown PA USA Posts: 98 Thanks: 6 Math Focus: dynamical systen theory  Analogous constructs
Dear MyMathForum Community: Are the REPEAT construct in Pascal, the do...while construct in C++, and the DO...WHILE construct in Fortran 90/95 analogous to each other? Thank you. Best regards, Carl Mesaros 
May 10th, 2017, 05:39 PM  #2 
Senior Member Joined: Feb 2016 From: Australia Posts: 1,353 Thanks: 464 Math Focus: Yet to find out. 
Do you mean 'repeat until'? If so, then yes, it would be the same. The idea being that conditions are checked after the first loop.

May 11th, 2017, 01:28 AM  #3  
Senior Member Joined: Apr 2014 From: Glasgow Posts: 2,068 Thanks: 692 Math Focus: Physics, mathematical modelling, numerical and computational solutions  Quote:
In many programming languages the ability to perform particular logic operations is very often the same... what differs is the "syntax" (a word that sort of means "grammar").  
May 11th, 2017, 05:36 AM  #4 
Member Joined: May 2014 From: Allentown PA USA Posts: 98 Thanks: 6 Math Focus: dynamical systen theory 
To "Joppy": Yes, I meant the REPEAT...UNTIL construct in Pascal. Thank you. Best regards, Carl Mesaros 

Tags 
analogous, constructs 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Analogous Results  Math Dreamer  New Users  0  June 26th, 2011 11:26 AM 