Page 1 of 1

Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Posted: Tue Nov 04, 2008 9:30 pm
by patili
hi everybody i don't understand why i have this error
Any idea?

Re: Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Posted: Tue Nov 04, 2008 10:04 pm
by Enrico Maria Giordano
It seems that lSaveObject() is not supported by FWH.

EMG

Posted: Tue Nov 04, 2008 10:26 pm
by patili
So how can i save an array on disc and restore it?

Posted: Tue Nov 04, 2008 11:17 pm
by James Bott
function Main()

local aInfo := { { "one", 1, .T. }, { "two", 2, .F. }, { "three", 3, Date() } }
local cText := ASave( aInfo )

aInfo := nil

aInfo = ARead( cText )

MsgInfo( Len( aInfo ) )
MsgInfo( aInfo[ 1 ][ 1 ] )
MsgInfo( aInfo[ 3 ][ 3 ] )

return nil

Posted: Wed Nov 05, 2008 1:27 pm
by patili
And i save the text in a .txt file.
Thank you James and Enrico