控制工程师论坛

教程与手册

Panorama系统程序开发规范

xilinxue
xilinxue

2008-11-05

1.匈牙利命名规则

 

变动   前缀     类型

 

        a       Array                                                   

        b       Boolean                                                

        by      Byte                                                    

        c       Char                           //有符号型字符                   

        cb      Char Byte                       //无符号型字符(没多大用处)     

        cr      ColorRef                        //颜色参考值                     

        cx,cy   Length of x,y (ShortInt)            //坐标差(长度)                 

        dw      Double Word                                                   

        fn      Function                                                        

        h       Handle                                                          

        i       Integer                                                          

        m_      Member of a class                                                

        n       Short Integer                                                     

        np      Near Pointer                                                     

        p       Pointer                          lp      Long Pointer                                                      

×(str)   s       String                                                      

        sz      String with Zero End              //以字符'\0'结尾的字符串         

        tm      Text                           //文本内容                       

        w       Word                                                          

        x,y     Coordinate                      //坐标                           

 

 

 

 

回帖

评论3

总共 , 当前 /
首页 | 登录 | 注册 | 返回顶部↑
手机版 | 电脑版
版权所有 Copyright(C) 2016 CE China