Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Sourcefile$ is a string containing the name and extension of the file to be renamed or copied. When no path is given, the system will look in the current path for "Reports, Projects and Temporary files"
  • TargetFile$ is a string containing the new name for the renamed file or the copy
  • Result$ is the string that the function RENAMECOPY$ will return. When Result$="NullString" the function returns TargetFile$
  • IntMode%IntMode% is the mode of the function: 
    • For IntMode=0 the file is renamed. 
    • For IntMode=1 the file is copied.
  • [InpVar] are optional arguments containing parameters that need to be known before the function is executed. This can be used to force the system to calculate these parameters before renaming or copying the file.

...

Makes a copy named copy_of_test.txt of the file test.txt and returns "Copy created" as string output, but not until both the parameters LPP and B are known.


 

Quick links: Function Functions overview | Attribute overview | Constants overview | Dimensions overview