For Programmers: Free Programming Magazines  


Home > Archive > Clipper > March 2005 > Getting a value of readvar()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Getting a value of readvar()
Branislav Kilibarda

2005-03-30, 8:55 pm

Hi, how can I get a value of a some get before read it.

For example:
wmyname:= "Banislav "
wyourname:=" "



Set key -2 to somefunction
@10,10 get wmyname
@11,10 get wyourname
read
set key -2 to
.....................
******************
Function Somefunction
*
name:=readvar()

If name="wmyname"
// there I have to know a value of get
do something with wmyname
Elseif name="wyourname"
// there I have to know a value of get
do something else with wyourname
Endif
Return
........................................................
Greetings, Branislav Kilibarda








E. Fridman

2005-03-30, 8:55 pm

xValue = GetActive():VarGet()

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com