Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Post Reply
User avatar
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Error: Unresolved external '_HB_FUN_LSAVEOBJECT'

Post by patili »

hi everybody i don't understand why i have this error
Any idea?
User avatar
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Post by patili »

So how can i save an array on disc and restore it?
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
User avatar
patili
Posts: 98
Joined: Mon Jan 23, 2006 9:34 am
Location: LE CREUSOT FRANCE

Post by patili »

And i save the text in a .txt file.
Thank you James and Enrico
Post Reply