Jump to content


Click the link below to see the new game I'm developing!


- - - - -

SYSF COMMANDS


3 replies to this topic

#1 Guest_Robbo_*

Guest_Robbo_*
  • Guests

Posted 17 December 1999 - 12:17 PM

I USED SYSF COMMAND TO DELETE A FILE

GOT ERROR MSG 'ERROR OPENING FILE' BUT STILL DELETED FILE

HOW CAN I RID OF ERROR OPENING FILE MESSAGE ?

#2 Rob Fantini

Rob Fantini

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 291 posts
  • Gender:Male
  • Location:Haverhill, United States

Posted 17 December 1999 - 03:02 PM

I don't know the answer to your question, but can you post the the line of logic you used?

[I'm trying to get more info on how to use SYSF as it is an undocumented logic command. I'll test your syntax here to see if I get the same result.]

#3 Guest_Trev_*

Guest_Trev_*
  • Guests

Posted 17 December 1999 - 03:41 PM

To Create

SYSF( &#@CREATE, $file_name, key_length, record_length )

To Delete

SYSF( &#@DELETE, $file_name )

To Check if file exists (useful befroe delete )

SYSF( &#@CHKFILE , $file_name , #A )
#A is Zero if file exists.

Hope this helps.

#4 Chris Pepper

Chris Pepper

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 369 posts
  • Gender:Male
  • Location:United Kingdom

Posted 17 December 1999 - 04:25 PM

I'm suspicious that the ERROR OPENING FILE message came from a PRO-IV attempt to read the file. Where in the function did you run the SYSF command? Are you trying to delete a file that's actually used in the function?



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Click the link below to see the new game I'm developing!