What is the function to retrieve all pair of keys and values under a specific section?
Is it this? https://learn.microsoft.com/en-us/windo ... ilesection
TIA
FUNCTION GETPVPROFSECTION( cSection, cIniFile )
LOCAL cKeys := STRTRAN( GETPVPROFSTRING( cSection, , "", cIniFile ), CHR( 0 ), CRLF )
LOCAL aKeys := {}
LOCAL i
FOR i = 1 TO MLCOUNT( cKeys )
AADD( aKeys, RTRIM( MEMOLINE( cKeys, , i ) ) )
NEXT
RETURN aKeys
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 98 guests