Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabling/Disabling
Message
From
14/05/2002 14:52:17
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00652488
Message ID:
00656404
Views:
31
Hi Paul

> I really wish you hadn't - it's not my intention to turn this into more than it is; my opinion. But I happen to think the capitalization thing IS a style difference. But anyway, here is some code I pulled out of VMP4 (which was before VFP 7), at random:

Don't worry! I'm not trying to blow things into a major debate either <g>. I'm just trying to understand your concept of consistency. I was curious if others felt the same way. Its not a big deal.

But what specifically is wrong with the case of the code you posted? The IF/ENDIF is capital but the lparameters, sys() and returns aren't? Is it the Camel Case Letters? I've had to work with code from many developers, so I guess my skin is pretty thick (and not just because I eat well)!

>
>From: frmDEGridNav.Init()
>
>
>lparameters tuInitialValue, tcFilter, tcAddOnTheFlyAlias
>
>IF sys(16,0) = "PROCEDURE CLASSBROWSER"
>  *
>  *  this code prevents a crash when this class is
>  *  instantiated from the Class Browser, by dragging
>  *  the class icon onto _Screen
>  *
>  return .t.
>ENDIF
>
>IF !frmDataEntry::Init(tuInitialValue,tcFilter,tcAddOnTheFlyAlias)
>  return .f.
>ENDIF
>
>
>Another chunk of code that I found a bit unwieldy is the UpdateBuffers() method from frmData. It's fairly well commented, but it's pretty darn long. I'd say confusing.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform