gsegovia
8th March 2007, 09:52
When does exactly file.mv return zero?

I've read in Baan ERP Help, it's success when the function returns a positive value (> 1), but I've seen on my experience in Baan IV it works when a zero value is returned.

mr_suleyman
8th March 2007, 11:55
file.mv()

--------------------------------------------------------------------------------

Syntax
long file.mv( const string source, const string target )

Description
This moves a specified source file to the location specified in the target argument. The file can be either local or remote. Both source and target must be on the same host.

Return values
0 Success.

<0 Error.


Context
Bshell function.

Related topics
Overview
Synopsis




I know that ...


G.Luck !

NPRao
8th March 2007, 20:48
From the latest programmer's manual-
SSA ERP LN 6.1 Programmers Guide
file.mv()
--------------------------------------------------------------------------------
Syntax
long file.mv( const string source, const string target )

Description
This moves a specified source file to the location specified in the target argument. The file can be either local or remote. Both source and target must be on the same host.

Return values
≥0 Success.
<0 Error. The error code is stored in the e variable.

Context
Bshell function.

gsegovia
9th March 2007, 12:51
thx u all!

It's useful