title: Looking for construct simto VB's WITH statement
body: <p>Updating some archaic F77 that no longer fully supported our needs. I am looking for the functional equivalent of VB's "WITH" statement to support the conversion from a mass of F77 disconnected, individual variables to hierarchical derived Types. While the code is much easier to read and understand the downside is that the code becomes very cumbersome and prone to typos. So, the use of WITH would greatly ease the conversion burden.</p>
  
  <p>VB's "WITH" statement executes a series of statements on a single object or a user-defined type.
  Example:
  if I want to reference elements my derived Type named Loads I would write code with Loads% prefixing each element and that is cumbersome. The WITH statement allows one to re-write the block with an assumed reference to Loads%.</p>
  
  <pre><code>WITH Loads%
     ID = blah
     Description = blahblah
     Duty(I) = 2
  End WITH
  </code></pre>
  
  <p>Suggestions...?</p>