Recent

Author Topic: reset  (Read 2670 times)

Bart

  • Hero Member
  • *****
  • Posts: 5469
    • Bart en Mariska's Webstek
Re: reset
« Reply #15 on: September 23, 2023, 05:44:02 pm »
But it is clear to me that the "Reset" function deletes files when they are taken from another folder

This is simply not true.
As my example code demonstrates.

I thought it would be good for you (since you are a beginner), to have a concrete wroking example.
And since most of us (including me) are willing to help anyone (including beginners), I posted that example.

It seems that you are reluctat to learn from more experienced programmers here.
That's OK with me, so bye.

Bart

TRon

  • Hero Member
  • *****
  • Posts: 3636
Re: reset
« Reply #16 on: September 24, 2023, 12:23:30 pm »
I'm a beginner, but I don't do the stupid thing of writing two "finfirst" instructions one after the other without closing them first, as someone noted above.
Your presented example tells otherwise.

Quote
In my example, there are two "finfirsts" but there is a comment after them...
That let us guessing whatever you meant by those comments.

Quote
which should show that I use only one of them,
I disagree as the comments do not make it clear imho.

Quote
When reading from the folder with the application it works fine, when reading from another folder, after the "Reset" function, the files disappear.
Well, I am patiently waiting for your bug-report then. The reset function exists for over 3 decades (or is it 4 already ?) and no-one ever had any issues with it. Or to put it into other words: The odds seem to favour the fact that the reset function works as intended.

Quote
I will not provide the source of the application.
No one is asking for such a thing. It is common to provide a full working example that is able to reproduce the/a bug. Not doing so will only lead to speculation. Communicating using text is hard enough as it is. Add to that the language barrier that is pretty common to exist and not to mention the fact that crystal balls are pretty scarce these days.

Quote
But it is clear to me that the "Reset" function deletes files when they are taken from another folder, it is the only difference between the two execution modes and that is the problem.
If you truly believe that, then I am sorry to say that you are wrong.

Quote
If this is difficult to understand, I cannot show more.
Sure. It is of course much easier to just leave us guessing.

Quote
Closed topic.
You might think it is closed but in fact it isn't. You'll figure that out soon enough though as the snippet of code that you did show in you post is riddled with errors and non defensive programming.

If this is your attitude towards people that are trying to help you then please consider to refrain from asking for help at all. There is nothing wrong with being a beginner (there are plenty of them on these forums and I even consider myself as still being one) but simply refusing to let other people help you and disregarding the request of presenting a full working example that is able to reproduce the issue is just dumb (there is no other way to say that without sounding as an insult). At one point of another we have all been at the position were you are at right now (being a total noob at a programming language or programming in general) and have gone through the same experience(s). It will be a much easier process to just let others help you out and you can do that by start listening to what people are telling/asking you.

But since the topic is closed for you, this whole rant from my hand has no point other than to thank all the people that are around with their expertise and knowledge and which they share with us. In their free time. Not being paid for it. Regularly running into people like you that ask for help but really do not wish to be helped at all. Effectively wasting their time. Because your time (and code) is much more precious than ours of course.

2 cents.
This tagline is powered by AI (AI advertisement: Free Pascal the only programming language that matters)

jamie

  • Hero Member
  • *****
  • Posts: 6735
Re: reset
« Reply #17 on: September 24, 2023, 02:59:39 pm »
No negative thoughts now!  :o

 :)
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018