Thanks for support

Here you can talk about anything related to BBC BASIC, not covered in another category
Ivan
Posts: 127
Joined: Tue 07 May 2019, 16:47

Thanks for support

Post by Ivan »

Thanks for support - I don't think I had success without all your help!

I finally got an approval from my hardest critics - my dear wife. :)

I just have ended or not a graphical calculating program for my wifes business. She uses expensive fabric on rolls and can calculate how many meters a project will use. She normally does that on paper.

She had seen me enjoying taking up programming again after the happy days in the eighties. She asked me one day if I could write a program for her business. After some pushes she got me to start to make her program. After several attempts I decided to use structures extensively with two arrays. The first array is used to group objects that are equal and the second array to number each object. Each object have different status flags in index 0. For now I have about 60 routines in procedures and functions.

With the program she can create a project with relevant data that are saved automatically. The projects can be loaded and edited an of course saved again.

Printing was a totally new discipline for me and I had to calculate which piece was on witch side and some of the pieces was necessarily cut over because of margins.

She can create the different rectangular pieces - there can be hundreds or more, the pieces can be moved, deleted and edited in size. There are collision detection. The detection also works if she cant see hidden objects scrolled sideways out of sight.

For now the program contains 2500 lines of code. The code is not compact, because I have strange form of dyslexia and I also have to maintain the code. I tried to persuade Richard to make indents in procedures. He tried to help me by advising me to write the code in a different way, but that was not the solution for me.
You do not have the required permissions to view the files attached to this post.
BBC Model B - 1984-1989. 6502 assembler, Unicomal 1988-1994, Some C and C++, Pascal 1990-1994. Bought a copy of BBC-BASIC 2007, but started to program at a daily basis 2019. C++ in 2021.
lueras
Posts: 2
Joined: Mon 01 Feb 2021, 13:45
Location: US

Re: Thanks for support

Post by lueras »

Oh, I can feel that very well.. My wife got into the real estate business recently and she really sucks at using the computer so she always asks for help which keeps me busy all the time. So I wrote an easy-to-use program for her that lists all the prices and features of all the flats for sale in Greece and finally, she's not bothering me anymore for writing macros on excel or any other boring business..
Ivan
Posts: 127
Joined: Tue 07 May 2019, 16:47

Re: Thanks for support

Post by Ivan »

:) You are obviously more clever than me, because my wife thinks it is very easy for me to add extra features. Some of the features she made me to implement are in the core of the program. The program now have about 2500 lines of code and about 70 procedures and functions.

I tried without success to explain to her, that she have to test, test, test. She prefer to do a full project and then have me to dig out the issue.

But now she is using the program and most importantly she is smiling. :D
BBC Model B - 1984-1989. 6502 assembler, Unicomal 1988-1994, Some C and C++, Pascal 1990-1994. Bought a copy of BBC-BASIC 2007, but started to program at a daily basis 2019. C++ in 2021.