Is possible reevalulate a say witha codeblock? - xharbour

This is a discussion on Is possible reevalulate a say witha codeblock? - xharbour ; In old xbase++ prg i have found this sample that non work in xharbour Is possible reevalutate say after changhing of a or b? without writing valid function FUNCTION MAIN A=3 B=2 @ 1,1 GET A @ 2,1 GET B ...

+ Reply to Thread
Results 1 to 3 of 3

Is possible reevalulate a say witha codeblock?

  1. Default Is possible reevalulate a say witha codeblock?

    In old xbase++ prg i have found this sample that non work in xharbour
    Is possible reevalutate say after changhing of a or b?
    without writing valid function

    FUNCTION MAIN
    A=3
    B=2
    @ 1,1 GET A
    @ 2,1 GET B
    @ 3,1 SAY eval{||A*B}
    READ
    RETURN


  2. Default Re: Is possible reevalulate a say witha codeblock?

    try this..

    FUNCTION MAIN
    A=3
    B=2
    @ 1,1 GET A
    @ 2,1 GET B
    @ 3,1 GET C WHEN {|o| o:varput(A*B) , .F.}
    READ
    RETURN



    "Massimo Belgrano" <massimo.belgrano@gmail.com> wrote in message
    news:1183545434.593193.291140@w5g2000hsg.googlegroups.com...
    > In old xbase++ prg i have found this sample that non work in xharbour
    > Is possible reevalutate say after changhing of a or b?
    > without writing valid function
    >
    > FUNCTION MAIN
    > A=3
    > B=2
    > @ 1,1 GET A
    > @ 2,1 GET B
    > @ 3,1 SAY eval{||A*B}
    > READ
    > RETURN
    >




  3. Default Re: Is possible reevalulate a say witha codeblock?

    Hi


    FUNCTION MAIN
    A=3
    B=2
    @ 1,1 GET A valid {|| c:=a*b, aEval(GetList, {|o| oisplay() }) ,.t.}
    @ 2,1 GET B valid {|| c:=a*b, aEval(GetList, {|o| oisplay() }) ,.t.}
    @ 3,1 GET C WHEN .F.
    READ
    RETURN


    Greeting,
    Vladimir



+ Reply to Thread

Similar Threads

  1. codeblock decompiler
    By Application Development in forum Clipper
    Replies: 24
    Last Post: 06-22-2007, 10:54 AM
  2. CPF in codeblock
    By Application Development in forum xharbour
    Replies: 1
    Last Post: 06-04-2007, 02:36 AM
  3. memo field and codeblock ?
    By Application Development in forum xharbour
    Replies: 4
    Last Post: 05-21-2007, 02:36 AM
  4. It's possible to know a name of a codeblock ?
    By Application Development in forum Clipper
    Replies: 7
    Last Post: 05-15-2007, 10:09 AM
  5. It's possible to know a name of a codeblock ?
    By Application Development in forum xharbour
    Replies: 4
    Last Post: 05-04-2007, 11:34 AM