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

ความคิดเห็น •

  • @toodamnhunter8658
    @toodamnhunter8658 2 หลายเดือนก่อน

    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

  • @parikshakisten994
    @parikshakisten994 ปีที่แล้ว

    Hi Mr Long, very helpful video. How do I extract the price if the rands and cents is also comma seperated.

    • @MrLongITandCAT
      @MrLongITandCAT  ปีที่แล้ว

      I would delete every thing until the position of the R. Then copy the number and convert the string into a real.

  • @vanessauganarain8538
    @vanessauganarain8538 7 หลายเดือนก่อน

    Hello sir what past year paper is it. I can't extract the datafiles

    • @MrLongITandCAT
      @MrLongITandCAT  7 หลายเดือนก่อน

      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

  • @MAMASCHILD12
    @MAMASCHILD12 8 หลายเดือนก่อน

    Is the a difference if you say try before reset(F)?

    • @MrLongITandCAT
      @MrLongITandCAT  8 หลายเดือนก่อน

      You can use the try except statements in Text File handling. Just another way of doing the error checking.

    • @MAMASCHILD12
      @MAMASCHILD12 8 หลายเดือนก่อน +1

      @@MrLongITandCAT thank you