How do I check if a file exists?

i am reading data from application archive. then I save them to a new file2, because the file1 that I read cannot be overwritten. And now I need to read the file2 that I created when the screen was initialized. my application does not want to read it. if you do everything using the buttons, then everything works, but I don't need it that way.

this piece is important:

full code:

To begin with, these blocks are not correct:

image

if global error_text = no then read from //las_proverka.csv
else read from las_proverka.csv

Also @Taifun 's file extension provides exists block that checks whether a file or directory exists

Image taken from Puravida Apps

image

2 Likes

Cool, i want this, but i cant find file extension to download it and add to project
I Check https://puravidaapps.com/extensions.php but i cant find "download"
On https://mit-cml.github.io/extensions/ there's no file extension

Go to PuraVida's File Extension, scroll down to the bottom of page and you will find the links you need

2 Likes

I check everywhere but not there :frowning:
THANK YOU !

It is there, scroll to the end of page as shown in the picture above. When download TaifulFile extension(aix file) link is clicked it opens a new page in sourceforge.net in order to download it. Maybe you have enabled some kind of blocker in your browser so I give you direct link

1 Like

Yea i fund it yesterday.
Now i try to read data from file, whit one i create.

1 Like