亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mfpshare.doc

?? 多格式數據錄入庫  
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
                    decimal places, and type using the same formatting struct-
                    ure as printf(). 

                    An optional procedure list can be passed which defines
                    any key or group of keys as "HOT KEYS" that can execute
                    any function you desire. A PROC list is created by you
                    that associates any key with any function.

NOTE:               Microsoft and Lattice C users, because MFP uses its own
                    color driver instead of relying on the graphics library
                    functions, to optimize performance and resultant code size,
                    the color driver MUST be disabled before exiting to DOS.
                    This is performed by calling color() and passing it minus
                    one in the fg and bg parameters, color( -1,-1 ).

















                                       7

                                                                        mfp
MFP FIELD DEFINITION

    An MFP field is defined in the following manner:

    1)  A pointer to the data item.
    2)  A pointer to the picture format string.
    3)  The row and column of where the item will be on the screen.
    4)  The foreground and background attributes of the input field.
    5)  Optional pointers to the pre and post validation functions.
        If pre and post validation is not used, a zero must be placed
        in the pre and post validation positions.

    The following example will allow the entry of a three character string
    converted to uppercase at row 5 column 15 with a black foreground and a
    white background without pre or post validation. The field name is
    "example_1" and will be referenced by that name in the MFP list.

           char buffer[ 4 ];
           MFP example_1[] = { buffer, "!!!", 5, 15, BLACK, WHITE, 0, 0 };
                  ^              ^       ^    ^   ^    ^      ^    ^  ^
Field Name -------+              |       |    |   |    |      |    |  |
Pointer to data variable --------+       |    |   |    |      |    |  |
Picture formatting string ---------------+    |   |    |      |    |  |
Row of field location ------------------------+   |    |      |    |  |
Column of field location -------------------------+    |      |    |  |
Foreground color of entry field -----------------------+      |    |  |
Background color of entry field ------------------------------+    |  |
Pre validation function pointer -----------------------------------+  |
Post validation function pointer -------------------------------------+

    The following example will allow the entry of a five digit decimal integer
    at row 10 column 15 with a blue foreground and a black background. Post
    validation is performed but no pre validation.

    The field name is "example_2" and will be referenced by that name in the
    MFP list.

       void post(void);
       int idata;
       MFP example_2[] = { &idata, "%5d", 10, 15, BLUE, BLACK, 0, post };

    The following example will allow the entry of a twelve digit double
    precision floating point variable with nine digits left of
    the decimal point and two digits to the right. Including the
    decimal point, that makes up the field length of twelve. The
    input field will be located at row 15 column 15 and have a
    white foreground and blue background. Pre and post validation
    is performed.

    The field name is "example_3" and will be referenced by that name in the
    MFP list.

      void pre(void);
      void post(void);
      double fdata;
      MFP example_3[] = { &fdata,  "%12.2lf", 15, 15, WHITE, BLUE, pre, post };


                                       8

                                                                        mfp
THE MFP LIST

    The MFP list array defines which fields are to be entered
    and in what order. The fields in the MFP list must be defined.

    The MFP list is the first parameter that will be passed to the mfp()
    function.

    The following example MFP list defines three fields to be inputted.
    The three fields were described on the previous pages of this text.

        MFP *example[] = { example_1, example_2, example_3, 0 };

    The MFP list "example" will tell the mfp() function that fields
    example_1, example_2, and example_3 are to be input and in the order
    that they appear in the list. When the mfp() function has scanned
    and processed all of the defined fields and has read in the zero
    it will exit and return control to the calling program.

    NOTE: All MFP lists must be terminated with a zero to define the end
          of the list.





































                                       9

                                                                        mfp
DATA ENTRY PICTURE FORMATTING

      One of the main features that makes MFP stand out is it's
      picture or data formatting capability. MFP uses a picture
      string to identify the data type and it's characteristics.
      Numeric variables are identified with a "%" percent symbol
      as the first picture character. Any other symbol in the first
      character position forces MFP to assume the data is a character
      array. Numeric data is always entered as BASE 10 or decimal.

      Character entry is filtered by MFP to not allow control codes into
      an entry field.

      Character formatting symbols are as follows:

        !                   Upper case conversion. ( alphanumeric )
        *                   Security echo. All characters are allowed.
        0 - 9               Numeric characters only, value limited by formatter
        A, a                Alpha only allowed
        H, h                Hexadecimal characters only
        X, x                Any ASCII character
        Y, y                Y or N only
        All others          used as stationary objects

      Numeric formatting requirements are as follows:

        "%nn[.][nn]|[L][l][h]|[d][u][f]"

        *   The first character must be a percent symbol.
        *   A length parameter must be provided. This will represent
            the entire entry field length including decimal points and sign.
        *   If a decimal point is provided a decimal length parameter is
            required to indicate the number of decimal positions. A decimal
            point cannot be used for non-floating point variables.

            NOTE: The length parameter must be at least three greater than
                  the decimal length. ie; "%5.3f" would be illegal, yet "%5.2f"
                  would be okay.

        *   Last is the variable type. MFP allows certain modifiers to the
            standard variable types. The legal types  are as follows:

            hd  --  Short integer.
            d   --  Signed integer.
            ld  --  Signed long integer.
            u   --  Unsigned integer.
            lu  --  Unsigned long integer.
            f   --  Single precision floating point.
            lf  --  Double precision floating point.
        *   Lf  --  Long double precision floating point.

        * Long double is not a standard variable type. Turbo C supports long
          double along with a few other compilers. The other versions of this
          library converts your long double to a double. If your compiler
          supports long double, you may recompile the mfp.c file after changing
          the define LONGDOUBLE to equate to TRUE. Then you may replace the MFP
          object file in the library.

                                      10

                                                                        mfp
DATA ENTRY PICTURE FORMATTING (cont'd)

        The following are examples of numeric data entry pictures and the
        data they may represent:

            "%12.2lf"   --  999999999.99
            "%5d"       --  32565
            "%10lu"     --  9999999999
            "%7.4f"     --  99.9999

        The following are examples of character data entry pictures and
        the data they may represent:

            "(999)999-9999" --  Makes a good telephone field. The user can
                                only enter or position the cursor at the
                                non-stationary entry positions. The
                                parenthesis and dashes would be skipped
                                over allowing entry in only the proper
                                fields. The "9"s allow any number from zero
                                to nine to be entered.

            "!!!!!!!!!!"    --  Ten characters all uppercase. Make sure the
                                data item can hold ten characters plus a
                                terminating NULL.

            "999-99-9999"   --  Social security number entry field.

            "!!-999!!!!"    --  The first two characters will be uppercase
                                alphanumeric followed by a dash then three
                                numeric only characters followed
                                by four uppercase alphanumerics.

            "********"      --  Eight character password entry field, all
                                characters are allowed but only spaces are
                                displayed.

            "99AAA!!!!"     --  The first two characters are numeric the next
                                three are alpha and the last four are uppercase
                                alphnumeric.

            "Y"             --  This is a single character entry field for
                                a 'Y' or an 'N'. Input is converted to upper-
                                case.

            "19/39/99"      --  This is a character date entry field. The first
                                character can be a '1' or '0'. The second can
                                be any number, The third character is skipped
                                but is part of the input string. The fourth
                                character can be anything from '0' to '3'.

            "XXXXXXXX"      --  This is an eight character entry field. No
                                uppercase conversion is performed. What you
                                type is what you get.





                                      11

                                                                        mfp
FIELD EDITING KEYS


    Up Arrow    --  Moves cursor to first character of previous field.

                    If already at the first field, moves cursor to beginning
                    of field.

    Down Arrow  --  Moves cursor to first character of next field.

                    If aleady at last field, exits the editing session and
                    mfp() returns to calling routine.

    Left Arrow  --  Moves the cursor left to an input position in the
                    current field.

                    Will jump over non-input positions defined in the
                    field picture.

                    Has no effect if already at the first input character.

    Right Arrow --  Moves the cursor right to an input position in the
                    current field.

                    Will jump over non-input positions defined in the
                    field picture.

                    Has no effect if already at the last input position.

    Ctrl Right  --  Moves the cursor to the last input position in the
                    current field.

    Ctrl Left   --  Moves the cursor to the first input position in the
                    current field.

    Backspace   --  Move cursor to next left input position while deleting
                    the contents of the input position. Destructive backspace.

    Home        --  Moves the cursor to the first input position of the first
                    field.

    End         --  Ends the edit session. mfp() returns to the calling
                    function.

    Insert      --  Puts mfp() into the insert mode allowing characters
                    that are keyed to be inserted in front of characters
                    that are positioned to the right. This key is a toggle
                    which activates and deactivates the insert mode.

    Delete      --  Deletes the current character and shifts all characters
                    to the right of the deleted character left once.

Ctrl Backspace  --  Deletes the entire entry field and positions cursor to
                    the beginning of the field.




                                     12

                                                                        mfp
PRE AND POST VALIDATION

    1)  Cursor moves into field.
    2)  Previous contents of field are displayed.
    3)  Jump to line 6 if no pre-process.
    4)  Procedure for pre-process is executed.
    5)  Jump to line 10 if pre-process returned valid as a FALSE.
    6)  User inputs data into field.
    7)  Jump to line 10 if no post-process.
    8)  Procedure for post-process is executed.
    9)  Skip to line 6 if post-process returned valid as a FALSE.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品色哟哟| 国产精品久久久久久久第一福利 | 成人综合婷婷国产精品久久免费| 午夜精品成人在线| 视频在线观看一区二区三区| 亚洲成人免费视| 美国精品在线观看| 九色综合狠狠综合久久| 久久99深爱久久99精品| 国产成人午夜高潮毛片| 一区二区成人在线观看| 成人免费高清在线观看| 亚洲国产你懂的| 亚洲精品乱码久久久久久日本蜜臀| 在线观看一区二区精品视频| 亚洲午夜久久久| 日本午夜一本久久久综合| 日本不卡免费在线视频| 国产一区二区三区免费看| 国产精品一区在线| 91在线看国产| 91精品国产综合久久精品图片 | 中文字幕亚洲在| 亚洲午夜国产一区99re久久| 日韩1区2区3区| 国产成人亚洲综合a∨婷婷| 色综合网色综合| 日韩一区二区在线播放| 中文字幕精品一区二区精品绿巨人| 国产精品久久二区二区| 午夜精品影院在线观看| 狠狠久久亚洲欧美| 成人av资源在线| 国产精品一线二线三线精华| 亚洲精品国产无天堂网2021| 麻豆91在线观看| 99久久精品国产精品久久| 91精品福利在线一区二区三区 | 精品国产乱码久久久久久久久| 国产欧美日韩久久| 日韩不卡一二三区| 一本久久精品一区二区| 久久久噜噜噜久噜久久综合| 亚洲一区在线电影| 顶级嫩模精品视频在线看| 欧美日韩美少妇| 国产精品欧美精品| 国产一区二区中文字幕| 欧美精品久久99久久在免费线 | 国产真实乱子伦精品视频| 91国偷自产一区二区三区成为亚洲经典 | 成人免费视频免费观看| 精品日产卡一卡二卡麻豆| 亚洲成人av一区二区| 色天使色偷偷av一区二区| 久久久精品综合| 久久精品国产77777蜜臀| 欧美在线|欧美| 有码一区二区三区| 成人h动漫精品| 国产亚洲va综合人人澡精品| 精品一区二区成人精品| 欧美精品一二三区| 一二三区精品福利视频| 91福利国产精品| 亚洲欧美日韩精品久久久久| 丰满放荡岳乱妇91ww| 国产午夜精品福利| 国产精华液一区二区三区| 欧美精品一区二区三区蜜臀| 久久福利视频一区二区| 日韩三级电影网址| 久久99最新地址| 久久女同性恋中文字幕| 国产精品资源在线| 国产亚洲成aⅴ人片在线观看| 激情伊人五月天久久综合| 精品国产乱子伦一区| 日本亚洲最大的色成网站www| 欧美精品日韩一区| 久久精品99国产精品| 精品久久久久av影院| 韩国女主播一区二区三区| 国产午夜精品一区二区| 99久久久精品| 亚洲亚洲人成综合网络| 欧美美女bb生活片| 精品一区二区三区免费观看| 国产三级精品在线| 在线亚洲免费视频| 日本女人一区二区三区| 欧美videossexotv100| 国产成人超碰人人澡人人澡| 亚洲免费观看高清| 欧美人妇做爰xxxⅹ性高电影| 另类调教123区| 日本一区二区三区国色天香 | 国产高清视频一区| 亚洲乱码国产乱码精品精98午夜| 在线视频你懂得一区二区三区| 亚洲国产色一区| 久久亚洲一级片| 91免费观看国产| 免费观看在线综合| 亚洲色图欧美激情| 日韩一区和二区| 91在线观看一区二区| 亚洲gay无套男同| 精品少妇一区二区| 色综合天天狠狠| 麻豆成人免费电影| 一区二区三区电影在线播| 精品三级av在线| 欧美亚一区二区| 国产91丝袜在线播放| 亚洲一区二区黄色| 国产精品国产三级国产普通话三级 | 狠狠色狠狠色综合系列| 亚洲欧美日韩精品久久久久| 欧美xxx久久| 69堂精品视频| 色狠狠色狠狠综合| 成人激情视频网站| 激情综合色综合久久综合| 一区二区三区高清| 国产精品国产a| 国产欧美久久久精品影院| 欧美人牲a欧美精品| 91免费视频网址| 99久久免费国产| 成人免费黄色大片| 国产精品一二三四| 麻豆91在线播放免费| 夜夜精品浪潮av一区二区三区| 国产精品乱人伦| 久久精品视频网| 精品国产91乱码一区二区三区| 精品视频1区2区| 在线观看视频欧美| 日本韩国欧美国产| 色悠悠久久综合| 色av成人天堂桃色av| 99久久婷婷国产| 99久久久久免费精品国产| 成人av在线电影| 成人免费视频视频| 成人免费毛片嘿嘿连载视频| 国产成人精品免费| 成人av电影在线网| 99国产精品国产精品毛片| 懂色av噜噜一区二区三区av| 成人中文字幕在线| 成人av网在线| 91成人网在线| 91麻豆精品国产91久久久久久久久 | 成人午夜精品一区二区三区| 国产乱国产乱300精品| 国产精华液一区二区三区| 成人免费视频一区| 日本精品视频一区二区三区| 91官网在线免费观看| 欧美在线你懂的| 91麻豆精品国产91久久久久久久久 | 欧美美女网站色| 精品欧美乱码久久久久久| 精品国产亚洲在线| 国产精品对白交换视频| 亚洲黄色尤物视频| 日韩高清不卡在线| 国产在线播放一区二区三区| 成人av电影在线| 欧美日本在线视频| 精品国产乱码久久久久久蜜臀| 欧美激情一区二区| 亚洲一区欧美一区| 久久精品久久精品| 91在线国产福利| 日韩三级精品电影久久久| 欧美高清在线视频| 亚洲第一综合色| 国产九色精品成人porny| 99re视频精品| 日韩欧美一区二区久久婷婷| 欧美极品另类videosde| 亚洲一区二区综合| 精品一区二区三区在线播放视频| 不卡高清视频专区| 日韩你懂的在线播放| 综合自拍亚洲综合图不卡区| 日韩高清不卡一区二区三区| 成人免费视频播放| 欧美一区二区三区日韩| 国产精品久久久久久久久免费丝袜| 日韩美女久久久| 久久爱另类一区二区小说| 91黄色免费看| 国产精品嫩草影院av蜜臀| 人人狠狠综合久久亚洲| 色噜噜狠狠成人中文综合| 久久免费视频一区|