FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to detect if a variable defined?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to detect if a variable defined?
Posted: Tue Jun 08, 2010 03:21 AM

Hi, As title.
TKS!
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: How to detect if a variable defined?
Posted: Tue Jun 08, 2010 06:49 AM

In xHarbour, you could use __mvexist("VarName")

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
Re: How to detect if a variable defined?
Posted: Tue Jun 08, 2010 08:50 AM

MR Hua,
Tks! in Harbour also works.
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion