FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour SysWait() 贸 SysRefresh()
Posts: 1144
Joined: Mon Feb 05, 2007 07:15 PM
SysWait() 贸 SysRefresh()
Posted: Mon Nov 20, 2023 05:37 PM

SysWait() 贸 SysRefresh()

Maestro Antonio Linares C. !

cual es la diferencia entre estas 2 funciones?

saludos !

Cesar Cortes Cruz

SysCtrl Software

Mexico



' Sin +- FWH es mejor "
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: SysWait() 贸 SysRefresh()
Posted: Mon Nov 20, 2023 08:11 PM
No difference, other than the duration:
Code (fw): Select all Collapse
function SysWait( nLong )

聽 聽local nSeconds

聽 聽DEFAULT nLong := .1
聽 聽nSeconds := Seconds() + nLong

聽 聽while Seconds() < nSeconds
聽 聽 聽SysRefresh()
聽 聽end

return .t.
Posts: 1144
Joined: Mon Feb 05, 2007 07:15 PM
Re: SysWait() 贸 SysRefresh()
Posted: Mon Nov 20, 2023 08:34 PM

Gracias !

Cesar Cortes Cruz

SysCtrl Software

Mexico



' Sin +- FWH es mejor "

Continue the discussion