Προγραμματισμός σε Clipper - 1

  • View
    567

  • Download
    4

Embed Size (px)

Text of Προγραμματισμός σε Clipper - 1

  • 1.
    ...
    T

    CLIPPER



    - 1999


    1) CLIPPER

    Dbase III+ Clipper.
    CA- Clipper 5.2 .
    2) CLIPPER
    Clipper,
    , , , , -
    .

    3) CLIPPER
    Clipper
    . -
    .

    4) SET CLIPPER
    Set, Clipper
    hardware .
    .
    5)


    . -
    , .




    CLIPPER

    Clipper, , , , DBase III+. - . Dbase III+ - 80 , , .
    , . , , , . , . , , . , , Clipper.
    Clipper Nantucket, 1984. Dbase Clipper , , , - . Summer 87, Clipper Dbase III+. , Clipper , 5.01, C, Pascal Cobol. Clipper , - , .
    , Clipper , . . Clipper , Dbase III+, , . . Clipper , 5.3 500, hardware .
    Assembly Clipper , (low level functions), -, ( , , ), , ( , , ). Clipper . . Clipper , , (procedural), , (object oriented). , , , . , (up down), , (bottom-up), . , , (up down), . . , , (bottom-up), . , . , , . , Clipper compiler .
    Clipper , . , compiler Clipper , , . Clipper ,(virtual memory), .
    Nantucket 1992 Computer Associates Clipper CA-Clipper, . Clipper 5.2, , , .
    Clipper , , . Clipper , , .


    CLIPPER

    , computers. , (interpreter), , (compiler). , , , . , , , . , , . - . .
    . , , object, *.obj. . compilers , executable, *.exe. object , (linking), , ,(header files).


    *.prg
    *.obj
    *.exe
    1: compiler.


    Writing code EditorFiles (functions and orders) *.prg

    Compiling codeCompiler Object Files*.obj

    Linking code with librariesLinker Executable Files *.exe
    2: compiler.
    , , (compiler), , (linker). , , 1, 2.
    compiler Clipper Clipper.exe RTLink.exe . main.prg, Clipper. , MS-DOS, directory Clipper, CLIPPER5, directory compiler linker, BIN:
    C:CLIPPER5BIN > CLIPPER _ MAIN
    _ , ( ), , spacebar, compiler . , main.prg, compiler . Enter Clipper , object , . :
    C:CLIPPER5BIN > RTLINK _ FI _ MAIN
    FI FILE , ( object main.obj). Main.exe :
    C:CLIPPER5BIN > MAIN
    , - Assembly, . compiler Editor, , object file. compiler ASCII, .
    , , , . , 10 , .
    Clipper
    . , , . Clipper 5.2 , Turbo Pascal 6.0 Turbo C 2.0 Borland. , . Clipper 5.2, Computer Associates, , , directory C:CLIPPER5BIN. :
    Clipper.exe : , (compiler), Clipper,
    ASCII
    , object .
    RTLink.exe : , (linker), Clipper, object
    .
    RMake.exe : , -
    , (*.RMK).
    CLD.exe : , (debugger), Clipper, -
    .
    DBU.exe: -
    Clipper, *.DBF.
    PE.exe : , -
    .
    RL.exe : -
    Clipper, .
    DBT52.exe :
    , DBU DBase.
    , DBU, RL PE, , Clipper. DBU PE . , , .

    Clipper 5.2 7 MB, (MegaBytes), 4,25 Norton Guider 1,9 . O Norton Guider Clipper, . Clipper 5.2 , Computer Associates.
    O CA Clipper 5.2 145 11 , (directories, MS-Dos folders Windows 95 98). Norton Guider 7 , , , , compiler , Clipper , ..
    Clipper 512 ,(KiloBytes), ,(conventional memory). MS-DOS 3.1 :
    C:CLIPPER5 BIN: ,
    Clipper.
    C:CLIPPER5OBJ : object ,
    , Clipper.
    C:CLIPPER5LIB: Clipper -
    C Assembly.
    C:CLIPPER5INCLUDE : ,header files, -
    Clipper.
    C:CLIPPER5SOURCE : directory -
    Clipper.
    C:CLIPPER5SOURCE RL : RL.
    Clipper, -
    .
    C:CLIPPER5SOURCE PE : R., Clipper,
    .
    C:CLIPPER5SOURCE DBU : DBU. Clipper,
    ,
    .
    C:CLIPPER5SOURCE SYS:
    Clipper ,
    .
    C:CLIPPER5SOURCE SAMPLE : Clipper
    .
    C:CLIPPER5PLL : ,prelinked libra-
    ries Clipper, -
    .
    Clipper, C:CLIPPER5, .. C:CLIPPER5TEST C:CLIPPER5EFARMOGH, , (*.PRG), , (*.DBF), . compiler Clipper , linker, RTLink, , (PATH), MS-DOS, : C:CLIPPER5BIN; , (PROMPT), C:>.
    CLIPPER
    Clipper
    CA - Clipper 5.2 Dbase III+, . Clipper . 5.2 1993, Clipper . , (Replaceable Database Drivers ), , drivers, Clipper . RDD, Clipper , .

    Clipper Dbase,
    Data Base Files, *.DBF. , . , :
    *.DBF Fields into a Data Base File
    Character
    Numeric
    Date
    Logical
    Memo
    3: *.DBF
    *.DBF Dbase. *.DBF , 256, , 20 30 , 40. . , , . , .
    character memo 64 , (KiloBytes), , , 64.000 , 1000 40 . character memo, . *.DBF Clipper, 2.000.000.000,, .
    2)
    , , , , , , , ... , . Clipper :
    ) *.NTX, DBU, Clipper,
    ) *.NDX, DBase.
    index, . CA Clipper 5.2 , ,date, .
    3)
    *.DBF 3. ,memo, *.DBT,Data Base Text, memo *.DBF. .DBF , *.DBT. , , . , ,(MegaBytes).
    4)
    Clipper. , , , . , INCLUDE.CH, . Clipper . , . , header files, *.CH, object Clipper. *.CH Clipper Header C, *. H. Clipper, - .
    5)
    Clipper , , *.. , , , . , . , - Clipper, Dase. Clipper, PRIVATE PUBLIC, . Clipper 5 , LOCAL STATIC, , , RAM.
    6)
    RL.EXE CA - Clipper 5.2. , . *.LBL Label , *.FRM, Form. , . Dase, , Clipper.
    7)
    , , Clipper. , editor, *.PRG, program. ASCII , , . , .
    8)
    RDD, Clipper . - , (drivers), , :
    - -
    DBFCDX.LIB*.IDX / *.CDX DBFNTX.LIB *.NTX
    DBFNDX.LIB *.NDXDBPX.LIB *.PDX
    DBFMDX.LIB*.MDX
    4 : drivers Clipper.

    Clipper : , , . , (memory variables), , . , (arrays), , . 4.096 , . , (field variables), . , . CA-Clipper 5.2 :
    PUBLIC
    Public Dase, . , . Clipper, , , . - . Public, , . , , . , 20 40 Mhz, , .
    , . , . Public , , .
    PRIVATE
    Private Public, . , Return, . , Private. 4.096 Public Private.
    STATIC
    Static Clipper 5.0 . Public Private. (memory address), . , , . , . Static - , ( *.prg), . , , . , , .
    LOCAL
    Local Static Clipper 5.0 . , , , ,(memory address). Local - , .
    Clipper
    , . . , , . :

    1 : .
    , , . , .
    , (arrays), , , -. , , . , . Clipper , 1. .
    CA Clipper 5.2 , , . 14 bytes , character . Clipper, - ,(screens), ,(pull