Results 1 to 2 of 2

Thread: FILE_Move unexpected return value

  1. #1

    FILE_Move unexpected return value

    Hi

    FILE_Move is correctly moving a file but returns a value of 1. The help says that 0 means no errors. Any suggestions? Version 1.6.0.8 on XP Pro.

    Thanks

    Alex

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,779
    Rep Power
    10

    Re: FILE_Move unexpected return value

    Alex,

    you are right. Return value is not in synch with help. I checked our version history and found we change it. Previously we where using the MOVE functionality given by our compiler to the MOVE functionality of the Windows API. API returns a value different from zero if all ok or zero in case of error.

    I will change thinBasic help.
    Thanks
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

Similar Threads

  1. Replies: 2
    Last Post: 03-03-2007, 09:51

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •