>Hi
>This isn't a problem. Rather, it's just a discussion of something I'm curious about VFP.
>
>As c# developers know, we can't write a method/procedure/function in c# outside of a class.
>But in VFP you can.
>
>So, I have a co-worker who saw my VFP code that wasn't rapped in a class. He asked why?
>I'm new to VFP, so I just said "because you can in VFP".
>;-)
That's an easy one:
Because VFP does not always been OOP. It started as clone of dBase, which implies structured programming, then it added OOP but maintaining it's roots and compatibility.
That's why you can have procedures and funtions out of classes, and the same is true for almost any programming language pre-OOP era.
Fernando D. Bozzo
Madrid / Spain