Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Not sure how we got onto the subject of notation, I'll blame the other
Peter! See, it makes good sense, and I remember what it means. Yes that's key, and also to make sense to any one else who needs to understand. I pretty much follow your naming of objects, but I prefix all number variables with an "n". If not a long followed by b, s or d for byte, single, double. I hate the "l" prefix (ie small L) ! more in the sense of Simonyi's original intent As I recall he named his notation Hungarian as a joke, describing it as so confusing it might as well be Greek, and hence named after his nationality. Regards, Peter T "Jon Peltier" wrote in message ... I picked up the my- prefix from forums such as these (I've never done Pascal). More recently in my posts I use names like theChart, thisChart, thatChart, newChart, oldChart, in an attempt to be descriptive. In my own coding I use descriptive prefixes like cht-, ws-, wb- and so forth, not as a strict Hungarian approach as followed by some programming prescriptivists, but more in the sense of Simonyi's original intent, to help the coder remember what the hell he's thinking. For example, I don't use i- for integer or l- for long. I use mostly longs anyway, because I read somewhere that the performance difference between longs and ints isn't so much, my programs have more delays waiting for the user to select an option than in calculations, and I hate having to redeclare my ints as longs if I decide I'll allow the user to use all rows of his own worksheet. I use i- for something that increments, n- for a count of that something, sometimes o- for an initial value, and l- for other kinds of numbers: For iNumber = oNumber to nNumber Step lNumber See, it makes good sense, and I remember what it means. - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions http://PeltierTech.com _______ "Peter T" <peter_t@discussions wrote in message ... Reformed - an on going process! I don't think I've ever used mySeries or myChart in my own work (well obviously). I don't know the origin of 'my' but pretty sure it pre-dates Mac and possibly Pascal. I trust in context it was pretty obvious that mySeries clearly referred to a Series object of 'your' choosing, and not me being overly possessive about one belonging to me. Regards, Peter T "(PeteCresswell)" wrote in message ... Per Peter T: "mySeries" Another reformed Mac Pascal programmer? Thanks. -- PeteCresswell |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there a way to view multiple excel spreadsheets side by side? | Excel Worksheet Functions | |||
Double side-by-side bars and 2 y axis | Charts and Charting in Excel | |||
how to make left side stay still and right side can move left to r | Excel Discussion (Misc queries) | |||
Can I make a graph with side-by-side pie charts? | Charts and Charting in Excel | |||
How do I make a stacked column chart with side-by-side comparison. | Charts and Charting in Excel |