PPRuNe Forums - View Single Post - Programming - Where to start?
View Single Post
Old 18th December 2011 | 23:00
  #30 (permalink)  
Gertrude the Wombat
 
Joined: Nov 2000
Posts: 3,443
Likes: 1
From: Cambridge, England, EU
Once common blocks were banished all the fun left it.
Like I said, you can write FORTRAN in any language. Here's a common block in C:
Code:
struct common
{
  int i;
  char c;
  etc ... etc ...
};
then declare a variable of this type, define it in one module and extern it in the others.
Gertrude the Wombat is offline  
Reply