How to detect if a variable defined?

How to detect if a variable defined?

Postby ShumingWang » Tue Jun 08, 2010 3:21 am

Hi, As title.
TKS!
Shuming Wang
http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Re: How to detect if a variable defined?

Postby hua » Tue Jun 08, 2010 6:49 am

In xHarbour, you could use __mvexist("VarName")
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to detect if a variable defined?

Postby ShumingWang » Tue Jun 08, 2010 8: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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 96 guests