One feature that I miss was being able to declare variables and types in between procedures in Modula-2

It meant I could declare a number of records and have the procedures to Blank them together.

If I try this in VBA then I get a Compile Error.

VB Code:
  1. Public Type TDates
  2.     EffectiveDate as Date
  3.     RevisionDate as Date
  4. End Type
  5.  
  6. Sub BlankTDates(ByRef TOD as TDates)
  7.     TOD.EffectiveDate = #1/1/1900#
  8.     TOD.RevisionDate = #1/1/1900#
  9. End Sub
  10.  
  11. Public Type TPerson
  12.     Name as string
  13.     BirthDay as date
  14.     Phone as String
  15. End Type
  16.  
  17. Sub BlankTPerson (ByRef TP as TPerson)
  18.     TP.Name = ""
  19.     TP.BirthDay = #1/1/1900#
  20.     TP.Phone = ""
  21. End Sub

So what feature do you miss most, and what language is it from.

Edit : Almost forgot , please give a simple example.