Good morning ANtonio
I am testing nserialhd function and i have some questions
1. nserialhd("C:") does not return the same value everytime
2. nserialhd("D:") returns always a value (same value) even if there is no "D"
3. nserialhd() returns always a value (same value)
tested on windows 8 pro, windows seven home and xp
thanks for clarification
Richard
this is the code i used
I am testing nserialhd function and i have some questions
1. nserialhd("C:") does not return the same value everytime
2. nserialhd("D:") returns always a value (same value) even if there is no "D"
3. nserialhd() returns always a value (same value)
tested on windows 8 pro, windows seven home and xp
thanks for clarification
Richard
this is the code i used
#INCLUDE "FIVEWIN.CH"
function Main()
LOCAL NC := 0, ;
ND := 0, ;
NX := 0
NC := nserialhd("C:")
SYSREFRESH()
ND := nserialhd("D:")
SYSREFRESH()
NX := nserialhd()
SYSREFRESH()
msginfo("NC " + CVALTOCHAR(NC) + CRLF + "ND " + cvaltochar(nD) + CRLF + "NX " + cvaltochar(nX))
RETURN NI