[futurebasic] Re: [FB] Font Question (more detail) and Field Question

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2003 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Sun, 05 Jan 2003 10:18:18 +0100

Chip G. wrote:
> 
> Another question. As I'm playing with modifying someone else's program 
> (practice on a Robert Purves program), I have come up with more field 
> questions. I'm noticing that when one creates an edit field, the 
> contents must be text (i.e., not a numeric variable). If I put data in a 
> field and then later want to extract it, how do I do that? How do I set 
> a variable to the contents of a field? 

I think the STR$ and VAL functions should solve that problem. I'm not 
totally sure this is what you're asking for since I have not followed 
the thread at all. Whatever, in case nobody has noticed, something has 
changed very recently, so I send to all of you my best wishes; health, 
wealth, love and happyness for this brand new year.

EDIT$(_efID) = STR$(theVar)
theVar = VAL(EDIT$(_efID))

Cheers,

Alain