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:
Public Type TDates EffectiveDate as Date RevisionDate as Date End Type Sub BlankTDates(ByRef TOD as TDates) TOD.EffectiveDate = #1/1/1900# TOD.RevisionDate = #1/1/1900# End Sub Public Type TPerson Name as string BirthDay as date Phone as String End Type Sub BlankTPerson (ByRef TP as TPerson) TP.Name = "" TP.BirthDay = #1/1/1900# TP.Phone = "" End Sub
So what feature do you miss most, and what language is it from.
Edit : Almost forgot, please give a simple example.





, please give a simple example.

Reply With Quote