Stephen

This is a FoxPro list (the clue is in the name) and your example is not Foxpro 
syntax ...

Paul Newton

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Stephen 
Russell
Sent: 14 April 2014 18:40
To: [email protected]
Subject: Re: A DBF file that file have field is numeric and data String.

On Mon, Apr 14, 2014 at 12:30 PM, AndyHC <[email protected]> wrote:

> ccn = '1234'
> ?VARTYPE(ccn) && C
> ?VAL(ccn) &&1234.00
> ?VARTYPE(VAL(ccn)) && N
>
>
> -------------


Still a fan of typed data.

String ccn ='1234';

Putting your mouse over the var it tells you it is string.




--
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN

901.246-0159 cell


--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to