|
Post by ptitjoz on Mar 2, 2018 10:23:04 GMT 1
Hello All
since Bacon 3.7.2 I use OPTION EXPLICIT TRUE but how make with a file example :
'REM Test Explicit with FILE OPTION EXPLICIT TRUE OPEN "xyz.tmp" FOR WRITING AS Fic1 WRITELN "azerty" TO Fic1 CLOSE FILE Fic1 DELETE FILE "xyz.tmp" And I have this message :
How To declare a FILE ?
Regards
|
|
|
Post by vovchik on Mar 2, 2018 11:05:30 GMT 1
Dear ptitjoz,
This works for me:
DECLARE Fic1 TYPE FILE*
With kind regards, vovchik
|
|
|
Post by ptitjoz on Mar 2, 2018 21:46:55 GMT 1
Good evening vovchik Thank you for your answer.
I did not know how to do Bacon. Thank you for giving me the code to achieve it. I tested it and it works well
Best regards
|
|