I saw If I made
oMemo:Save(,,,,,.t.)
save a file with this name "noname.prg"
How I can to save with a new name into a specific folder ?
I made
but make error
oMemo:Save(,,,,,.t.)
save a file with this name "noname.prg"
How I can to save with a new name into a specific folder ?
I made
Function Salva_File(oMemo)
local cFile := cGetFile32( , FWString("Save as"), 0, ;
hb_CurDrive() + ":\" + CurDir(), .T., .T. )
oMemo:Save(cFile,,,,,.t.)
return nilError occurred at: 11/27/24, 13:55:19
Error description: Error BASE/1066 Argument error: conditional
Args:
[ 1] = C C:\work\silvioscript\script\silvio.sls
Stack Calls
===========
Called from: .\source\classes\scintila.prg => TSCINTILLA:SAVE( 1049 )
Called from: test.prg => SALVA_FILE( 322 )
Called from: test.prg => (b)SILVIOSCRIPT( 48 )Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com