Newbie neat Help - xharbour

This is a discussion on Newbie neat Help - xharbour ; Hello, sorry fpr my poor english. I'm new at xHarbour and will port and Prog from flagship to xharbour but first cant find an Documentation ( the Website gives me an error) and i cant find any Referense Guide In ...

+ Reply to Thread
Results 1 to 9 of 9

Newbie neat Help

  1. Default Newbie neat Help

    Hello,
    sorry fpr my poor english.

    I'm new at xHarbour and will port and Prog from flagship to xharbour
    but first cant find an Documentation ( the Website gives me an error)
    and i cant find any Referense Guide

    In the littel Prog i use the sum function adds some records for a day
    but i don't know how it works in xHarbour ?

    here ist the sample :

    sum field while datum = adat

    gives me an error anny Tips ?

    Stefan

  2. Default Re: Newbie neat Help


    "stefan" <linux@sm-recycling.de> ha scritto nel messaggio
    news:743037c1-ba76-4773-9d37-9983cac0282a@s19g2000prg.googlegroups.com...

    > Hello,
    > sorry fpr my poor english.
    >
    > I'm new at xHarbour and will port and Prog from flagship to xharbour
    > but first cant find an Documentation ( the Website gives me an error)
    > and i cant find any Referense Guide
    >
    > In the littel Prog i use the sum function adds some records for a day
    > but i don't know how it works in xHarbour ?
    >
    > here ist the sample :
    >
    > sum field while datum = adat
    >
    > gives me an error anny Tips ?


    You forgot TO clause:

    SUM <expressions,...> ;
    TO <resultVarNames,...> ;
    [<Scope>] ;
    [WHILE <lWhileCondition>] ;
    [FOR <lForCondition>]

    EMG

    --
    EMAG Software Homepage: http://www.emagsoftware.it
    The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
    The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
    The EMG Music page: http://www.emagsoftware.it/emgmusic



  3. Default Re: Newbie neat Help

    > but first cant find an Documentation ( the Website gives me an error)
    > and i cant find any Referense Guide


    http://www.xharbour.com/xhdn/referenceguide/

    Ron



  4. Default Re: Newbie neat Help

    Stefan,

    stefan wrote:
    > Hello,
    > sorry fpr my poor english.
    >
    > I'm new at xHarbour and will port and Prog from flagship to xharbour
    > but first cant find an Documentation ( the Website gives me an error)
    > and i cant find any Referense Guide


    Welcome to xHarbour!

    What error do you get when trying to use the website? Can you give me an
    URL or more info about this?


    --
    Best regards,
    Nick Van Dyck
    --
    xHarbour.com Inc.
    Visit us online at www.xHarbour.com
    --
    Using Mozilla's Thunderbird

  5. Default Re: Newbie neat Help

    On 4 Dez., 12:14, "Ron Pinkas" <R...@xHarbour.com> wrote:
    > > but first cant find an Documentation ( the Website gives me an error)
    > > and i cant find any Referense Guide

    >
    > http://www.xharbour.com/xhdn/referenceguide/
    >
    > Ron


    A cool now it works

  6. Default Re: Newbie neat Help

    On 4 Dez., 12:06, "Enrico Maria Giordano"
    <e.m.giord...@emagsoftware.it> wrote:
    > "stefan" <li...@sm-recycling.de> ha scritto nel messaggionews:743037c1-ba76-4773-9d37-9983cac0282a@s19g2000prg.googlegroups.com...
    >
    > > Hello,
    > > sorry fpr my poor english.

    >
    > > I'm new at xHarbour and will port and Prog from flagship to xharbour
    > > but first cant find an Documentation ( the Website gives me an error)
    > > and i cant find any Referense Guide

    >
    > > In the littel Prog i use the sum function adds some records for a day
    > > but i don't know how it works in xHarbour ?

    >
    > > here ist the sample :

    >
    > > sum field while datum = adat

    >
    > > gives me an error anny Tips ?

    >


    > You forgot TO clause:
    >
    > SUM <expressions,...> ;
    > TO <resultVarNames,...> ;
    > [<Scope>] ;
    > [WHILE <lWhileCondition>] ;
    > [FOR <lForCondition>]
    >
    > EMG
    >
    > --
    > EMAG Software Homepage: http://www.emagsoftware.it
    > The EMG's ZX-Spectrum Page:http://www.emagsoftware.it/spectrum
    > The Best of Spectrum Games:http://www.emagsoftware.it/tbosg
    > The EMG Music page: http://www.emagsoftware.it/emgmusic



    No, sorry in i forget only in the sample. Not in my code, but found an
    workaround with an do while loop
    here ist the complete line :

    sum cu1, cu3, rg, ms, zink, zinn, blei, akku, alu, va, zuschlag,
    kabel, nickel, qs, summe, eisen while datum = adat TO scu1, scu3, srg,
    sms, szink, szinn, sblei, sakku, salu, sva, szuschlag, skabel,
    snickel, sqs, umme, sei

    gives me :
    ausw.prg(107) Error E0030 Syntax error: "syntax error at 'CU1'"



    thanks

  7. Default Re: Newbie neat Help

    With the Workaround now harbour finished without any errors but when
    run the gcc comnpiler i got :


    metall.c:482: error: expected '}' before 'HB_INIT_SYMBOLS_EX_END'

    the line in my metall.c is :
    ---cut --
    { "LL_CARRY", {HB_FS_PUBLIC | HB_FS_MEMVAR}, {NULL}, NULL },
    { "LC_PROC", {HB_FS_PUBLIC | HB_FS_MEMVAR}, {NULL}, NULL },
    { "DEVOUTPICT", {HB_FS_PUBLIC}, {HB_FUNCNAME( DEVOUTPICT )}, NULL },
    { "__MVXRELEASE", {HB_FS_PUBLIC}, {HB_FUNCNAME( __MVXRELEASE )},
    NULL }
    HB_INIT_SYMBOLS_EX_END( hb_vm_SymbolInit_METALL, "metall.prg", 0x0,
    0x0002 )

    #if defined(HB_PRAGMA_STARTUP)
    #pragma startup hb_vm_SymbolInit_METALL
    #elif defined(HB_MSC_STARTUP)
    #if _MSC_VER >= 1010
    #pragma data_seg( ".CRT$XIY" )
    #pragma comment( linker, "/Merge:.CRT=.data" )
    #else
    #pragma data_seg( "XIY" )
    #endif
    -- cut --

    regards

  8. Default Re: Newbie neat Help


    "stefan" <linux@sm-recycling.de> ha scritto nel messaggio
    news:77d654fc-da3b-465e-9cc8-c8626e14e4ba@b40g2000prf.googlegroups.com...

    > > You forgot TO clause:

    >
    > No, sorry in i forget only in the sample. Not in my code, but found an
    > workaround with an do while loop
    > here ist the complete line :
    >
    > sum cu1, cu3, rg, ms, zink, zinn, blei, akku, alu, va, zuschlag,
    > kabel, nickel, qs, summe, eisen while datum = adat TO scu1, scu3, srg,
    > sms, szink, szinn, sblei, sakku, salu, sva, szuschlag, skabel,
    > snickel, sqs, umme, sei
    >
    > gives me :
    > ausw.prg(107) Error E0030 Syntax error: "syntax error at 'CU1'"


    You have to put TO clause *before* WHILE one.

    EMG

    --
    EMAG Software Homepage: http://www.emagsoftware.it
    The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
    The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
    The EMG Music page: http://www.emagsoftware.it/emgmusic



  9. Default Re: Newbie neat Help

    On 4 Dez., 14:41, "Enrico Maria Giordano"
    <e.m.giord...@emagsoftware.it> wrote:
    > "stefan" <li...@sm-recycling.de> ha scritto nel messaggionews:77d654fc-da3b-465e-9cc8-c8626e14e4ba@b40g2000prf.googlegroups.com...
    >
    > > > You forgot TO clause:

    >
    > > No, sorry in i forget only in the sample. Not in my code, but found an
    > > workaround with an do while loop
    > > here ist the complete line :

    >
    > > sum cu1, cu3, rg, ms, zink, zinn, blei, akku, alu, va, zuschlag,
    > > kabel, nickel, qs, summe, eisen while datum = adat TO scu1, scu3, srg,
    > > sms, szink, szinn, sblei, sakku, salu, sva, szuschlag, skabel,
    > > snickel, sqs, umme, sei

    >
    > > gives me :
    > > ausw.prg(107) Error E0030 Syntax error: "syntax error at 'CU1'"

    >
    > You have to put TO clause *before* WHILE one.
    >
    > EMG
    >
    > --
    > EMAG Software Homepage: http://www.emagsoftware.it
    > The EMG's ZX-Spectrum Page:http://www.emagsoftware.it/spectrum
    > The Best of Spectrum Games:http://www.emagsoftware.it/tbosg
    > The EMG Music page: http://www.emagsoftware.it/emgmusic


    Thats it ! Sorry in Flagship it works.
    Thanks

+ Reply to Thread

Similar Threads

  1. ScriptRunner script for CS2, neat way to launch scripts
    By Application Development in forum Graphics
    Replies: 2
    Last Post: 05-23-2007, 03:29 PM
  2. Neat Piece of USB Hardware
    By Application Development in forum TCL
    Replies: 2
    Last Post: 03-26-2007, 08:15 PM
  3. Vim: a neat idea
    By Application Development in forum Editors
    Replies: 3
    Last Post: 12-18-2006, 04:57 AM
  4. Save for web plug-in and Neat image pro filter dissapeared
    By Application Development in forum Adobe Photoshop
    Replies: 3
    Last Post: 12-14-2006, 05:17 PM
  5. Re: Neat Screen Saver
    By Application Development in forum basic.visual
    Replies: 0
    Last Post: 11-20-2006, 06:25 PM