Text File and String Handling example Part 1
ฝัง
- เผยแพร่เมื่อ 8 ม.ค. 2025
- Here is an example of read data from a text file and then using string handling to extract the information that you need.
Part 2 - • Text File and String H...
Data files at www.dropbox.co...
#MrLongEducation #Programming #Textfiles
hey sir mine is saying " ' ' is not a valid integer" even though i did put a integer value in the inputbox pls help its for my PAT
Hi Mr Long, very helpful video. How do I extract the price if the rands and cents is also comma seperated.
I would delete every thing until the position of the R. Then copy the number and convert the string into a real.
Hello sir what past year paper is it. I can't extract the datafiles
This isnt an old exam paper. Just a test. The data files are in the link in the description of the video. You can also get more examples and files from my exam guide for grade 11 at the following link:
tinyurl.com/MrlongExamGuideGrade11IT
Is the a difference if you say try before reset(F)?
You can use the try except statements in Text File handling. Just another way of doing the error checking.
@@MrLongITandCAT thank you