Local Variable won't accept numbers, string / dates

I'm having my phone write files, which is fine - all works well. I enter contents and the file name and store it, but when I try and read it - it comes up with the error:
" RuntimeError. Irritants: (The operation Enabled cannot accept the argument: , ["24/3/2022"] Bad arguments to Enabled)"

The date changes based on what date input you enter, but it just won't read the file. I've tried changing the local var to strings to see if it works, and it doesn't

Here is the AIA:
App_FileScores (3).aia (3.7 KB)

and the block code:

Designer:

Are you using the IOS companion ?

Yup ! I've gotten a step further and It is now displaying the date. I've changed
file1.gotText --> Set textboxRead.text instead of .enabled.

However, now the problem is, it writes out today's date before whatever was stored in the file. What was written inside the file was: On 25/3/22 You scored: 200


W

Whoops ! Fixed it all! I removed the setDisplayLocal to from the file1.GotText

Nice!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.