Text Files in Delphi - Reading from a text file

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • In this video we explain how to get data from a text file so that it can be used and processed in Delphi.
    For more videos on text file handling in Delphi, watch the other videos in our
    video series.
    Text File Video Series
    Part 1 - • Text Files in Delphi -...
    Part 1a- • Text Files in Delphi -...
    Part 2 - • Text Files in Delphi -...
    Part 3 - • Text Files in Delphi -...
    #MrLongEducation #Programming #Textfiles

Комментарии • 54

  • @keeranmnc1605
    @keeranmnc1605 3 года назад +77

    My high school IT teacher! This was the most fun class at school. Mr. Long cultivated a passion for coding in his class. I'm a software engineer at Amazon today because of this class. I recall one of the earliest beginner coding problems he gave us that I solved on the whiteboard, was how to swap the values of two variables without introducting a third variable. Aaah those were the days.

    • @MrLongITandCAT
      @MrLongITandCAT  3 года назад +23

      Thank you for the kind word Keeran :) Glad to see you still enjoying coding. I love that swap example. Gets the brain brewing up some solutions.

  • @wanliangsiow6496
    @wanliangsiow6496 4 года назад +17

    This guy is really saving every Delphi beginner's life. _/\_

  • @qeawonstevens6253
    @qeawonstevens6253 6 лет назад +18

    Thank you for starting to upload again, I really enjoy your videos!

  • @mikebakala2066
    @mikebakala2066 4 года назад +6

    So simple and easy to understand and
    you put everything we need to know thank you

  • @jeanjamil7891
    @jeanjamil7891 6 лет назад +4

    Clean work and very clear tnx. Hope more videos about audio frequencies if can

  • @Coolcreeper13C
    @Coolcreeper13C 3 года назад +12

    It's 2am and i have a final exam about this at 8:30 wish me luck

  • @Zdefragmentowany
    @Zdefragmentowany 5 месяцев назад

    THIS IS WHY HE IS THE G O A T, really men youre helping me alot!!

  • @simplelulu.
    @simplelulu. Год назад

    You saved my life 😭😭🙏

  • @mbuzimanyike
    @mbuzimanyike 4 года назад

    you are such a life saver thank you so much 😭😭

  • @ruanklopper
    @ruanklopper 4 года назад

    This really helped me thanks a lot, busy with a school project and I needed to make a rogram where you need to store a password and use like a secured note type of thing

  • @eitan71
    @eitan71 6 лет назад +2

    Thank you for sharing !!

  • @thulasizwemabso6102
    @thulasizwemabso6102 3 года назад

    Thanks soo much your a life saver

  • @erikapotgieter2221
    @erikapotgieter2221 4 года назад

    Thanks for this. This was extremely helpful

  • @mabena1108
    @mabena1108 3 года назад

    I LOVE THIS MAN

  • @lindaboshoff3260
    @lindaboshoff3260 2 года назад +1

    HELP PLEASE!! When running on version Delphi 10.4 we get an error when clicking the button that says the _p file is not found. Is this because of the version? Because in class, Wonga, who has 2010 Delphi version is the only person whose program ran without errors. Is one supposed to do anything differently in a different version of Delphi??
    (By the way - Luuuuuuuuv MrLong! Tx for your awesome videos)

  • @gage6482
    @gage6482 2 года назад +3

    Mr Long laat my Graad 11 IT prakties hard clutch aan die einde van die jaar

  • @ACE.FRAGRANCES
    @ACE.FRAGRANCES 2 года назад

    Thanks bro helps a lot

  • @pzz1314
    @pzz1314 2 года назад +1

    Dankie Baba

  • @mike_lwayb12
    @mike_lwayb12 4 месяца назад

    How do u make the cursor move to the next line ?

  • @gachamukadi
    @gachamukadi 3 месяца назад

    Mr Long. I'm running into the problem of my text file not showing up, despite me doing all the code properly. I save the text file as 'Indie', then type it as 'Indie.txt', yet the code doesn't recognise it. Do you have a solution for this, sir

  • @azeiliakazi
    @azeiliakazi Год назад +1

    Good day Mr Long. I really require your assistance on this for my IT PAT. With regarding textfiles. No matter which way i try to upload a textfile to Delphi, it refuses to work and that too , i have watched many videos trying to solve it. This also applies to image code. It seems that there is an immenint issue with importing a file. Please may i get some advice or tips to sort this issue out urgently? Thank you🙏🏻

  • @khaledbakhouche
    @khaledbakhouche 2 года назад +1

    thank you

  • @pezhman66
    @pezhman66 2 года назад

    excellent!

  • @eshannaidoo3346
    @eshannaidoo3346 4 года назад +5

    Delphi cannot find my texfile even though it is in the same folder. i even used something like this ('D:\Delphi Practice\Teams.txt') and still says file not found. Pls help

    • @eshannaidoo3346
      @eshannaidoo3346 4 года назад +11

      nevermind i figured it out. For those who are using delphi 10.3 , when locating your textfile , use ('..\..\Teams.txt'); OR put your text file in Win32\debug

    • @reneilwempholoane8416
      @reneilwempholoane8416 6 месяцев назад

      ​@@eshannaidoo3346I put the textfile in the win32 folder however it still says 'file not found'

  • @call_me_lukyn
    @call_me_lukyn 4 года назад

    Thank you so much!!!

  • @netroplexinc6595
    @netroplexinc6595 5 лет назад

    Thanks for the video. I’m having undeclared identifier reddisplay

  • @graeme8866
    @graeme8866 4 года назад +1

    Legend

  • @ramazanbasak3641
    @ramazanbasak3641 5 лет назад

    very goog. thank you

  • @ngwanamama1572
    @ngwanamama1572 4 года назад

    Thank you❤ now I'm sure I'll do superb in tomorrow's examination😎

  • @aekbns
    @aekbns 4 года назад

    thanks

  • @mythilipriyag8698
    @mythilipriyag8698 Год назад

    How to create text file in delphi..pls tell me

    • @MrLongITandCAT
      @MrLongITandCAT  Год назад +1

      Here is a video on how to create text files: ruclips.net/video/FecvQ_q8aqA/видео.html

  • @kevinlee1321
    @kevinlee1321 4 года назад

    Should we always add '.txt' when we name or assign the textfile?

  • @jonellbotha9519
    @jonellbotha9519 4 года назад

    My rich edit continuously says file not found even if my text file is in the debug file of my program

    • @MrLongITandCAT
      @MrLongITandCAT  4 года назад +1

      Are you sure you are adding the ".txt" part to the end of the filename in the assignfile part.

    • @jonellbotha9519
      @jonellbotha9519 4 года назад

      I figured out my mistake, i added an extra.txt in the name and forgot that the file extension declares itself

    • @voldibayizitunda2178
      @voldibayizitunda2178 2 года назад +1

      @@MrLongITandCAT Sorry but can you help me out. I did everything but it doesn't want to work. It constantly says file does not exist. I even tried to find the same solution some have used and still it does not work

    • @MrLongITandCAT
      @MrLongITandCAT  2 года назад

      @@voldibayizitunda2178 Which version of Delphi are you using?

    • @reneilwempholoane8416
      @reneilwempholoane8416 6 месяцев назад

      ​@@MrLongITandCATI have the same problem and I am using Delphi version 10.4

  • @chahbour305
    @chahbour305 4 года назад

    Why reddisplay dont work

  • @skiddy529
    @skiddy529 3 года назад +1

    pog

  • @plaaswerker1288
    @plaaswerker1288 3 года назад +1

    poggers

  • @sekiro_19
    @sekiro_19 4 года назад

    Thx

  • @ramzamthel8014
    @ramzamthel8014 10 месяцев назад +1

    thanks