Text Files in Delphi - Reading from a text file

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 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 5 ปีที่แล้ว +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

  • @Coolcreeper13C
    @Coolcreeper13C 3 ปีที่แล้ว +12

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

  • @jeanjamil7891
    @jeanjamil7891 5 ปีที่แล้ว +4

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

  • @Zdefragmentowany
    @Zdefragmentowany 3 หลายเดือนก่อน

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

  • @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

  • @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 4 หลายเดือนก่อน

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

  • @lindaboshoff3260
    @lindaboshoff3260 ปีที่แล้ว +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)

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

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

  • @eitan71
    @eitan71 5 ปีที่แล้ว +2

    Thank you for sharing !!

  • @mabena1108
    @mabena1108 3 ปีที่แล้ว

    I LOVE THIS MAN

  • @simplelulu.
    @simplelulu. ปีที่แล้ว

    You saved my life 😭😭🙏

  • @mbuzimanyike
    @mbuzimanyike 4 ปีที่แล้ว

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

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

    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🙏🏻

  • @erikapotgieter2221
    @erikapotgieter2221 4 ปีที่แล้ว

    Thanks for this. This was extremely helpful

  • @thulasizwemabso6102
    @thulasizwemabso6102 2 ปีที่แล้ว

    Thanks soo much your a life saver

  • @kevinlee1321
    @kevinlee1321 4 ปีที่แล้ว

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

  • @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: th-cam.com/video/FecvQ_q8aqA/w-d-xo.html

  • @call_me_lukyn
    @call_me_lukyn 4 ปีที่แล้ว

    Thank you so much!!!

  • @ACE.FRAGRANCES
    @ACE.FRAGRANCES 2 ปีที่แล้ว

    Thanks bro helps a lot

  • @pezhman66
    @pezhman66 2 ปีที่แล้ว

    excellent!

  • @khaledbakhouche
    @khaledbakhouche 2 ปีที่แล้ว +1

    thank you

  • @netroplexinc6595
    @netroplexinc6595 5 ปีที่แล้ว

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

  • @pzz1314
    @pzz1314 2 ปีที่แล้ว +1

    Dankie Baba

  • @graeme8866
    @graeme8866 4 ปีที่แล้ว +1

    Legend

  • @ngwanamama1572
    @ngwanamama1572 4 ปีที่แล้ว

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

  • @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 4 หลายเดือนก่อน

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

  • @gage6482
    @gage6482 2 ปีที่แล้ว +3

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

  • @ramazanbasak3641
    @ramazanbasak3641 5 ปีที่แล้ว

    very goog. thank you

  • @chahbour305
    @chahbour305 4 ปีที่แล้ว

    Why reddisplay dont work

  • @aekbns
    @aekbns 4 ปีที่แล้ว

    thanks

  • @skiddy529
    @skiddy529 3 ปีที่แล้ว +1

    pog

  • @plaaswerker1288
    @plaaswerker1288 3 ปีที่แล้ว +1

    poggers

  • @sekiro_19
    @sekiro_19 3 ปีที่แล้ว

    Thx

  • @ramzamthel8014
    @ramzamthel8014 9 หลายเดือนก่อน +1

    thanks