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
...
-
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
-
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
>
-
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| o
isplay() }) ,.t.}
@ 2,1 GET B valid {|| c:=a*b, aEval(GetList, {|o| o
isplay() }) ,.t.}
@ 3,1 GET C WHEN .F.
READ
RETURN
Greeting,
Vladimir
Similar Threads
-
By Application Development in forum Clipper
Replies: 24
Last Post: 06-22-2007, 10:54 AM
-
By Application Development in forum xharbour
Replies: 1
Last Post: 06-04-2007, 02:36 AM
-
By Application Development in forum xharbour
Replies: 4
Last Post: 05-21-2007, 02:36 AM
-
By Application Development in forum Clipper
Replies: 7
Last Post: 05-15-2007, 10:09 AM
-
By Application Development in forum xharbour
Replies: 4
Last Post: 05-04-2007, 11:34 AM