Difference between revisions of "Pascal for C users"

From Lazarus wiki
(New page: {|   border="1" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px solid; border-collapse: collapse;" |   C   |   Pascal   | |- |   { &nbsp...)
 
Line 30: Line 30:
 
|   !=  
 
|   !=  
 
| &nbsp; <>
 
| &nbsp; <>
| &nbsp;
+
| &nbsp; [[Not equal]]  &nbsp;
 
|-
 
|-
 
| &nbsp; && &nbsp;
 
| &nbsp; && &nbsp;

Revision as of 08:31, 20 October 2007

  C     Pascal  
  {     Begin    
  }     End  
  =     :=   Becomes  
  ==     =  
  %     Mod  
  !     Not  
  !=     <>   Not equal  
  &&     And  
  ||     Or  
  ^     Xor  
  >>     Shr  
  <<     Shl  
  ++     Inc  
  --     Dec  
  /*     {  
  */     }  
  //     //  
  if()     If Then  
  if() else     If Then Else  
  while     While Do  
  do while     Repeat Until Not   
  do while !     Repeat Until    
  for ++     For To Do  
  for --     For Downto Do    
  switch case break     Case Of End  
  switch case break default     Case Of Else End