Lazarus Tutorial #4 - The first calculator

preview_player
Показать описание
This video demonstrates the use of our variable knowledge from the last video. We will create our first small calculator, which can be used for calculating with integers. In the end of this video series you should be able to develop your own applications for Windows, Linux and Mac. Moreover you should have understood the concept of programming and the necessary knowledge to continue your journey.
Рекомендации по теме
Комментарии
Автор

Just figured it out.. Moved 'Number1, Number2, NumberResult: Integer;' up to Var located under 'Public end'. Erased both Var's in both procedures, recompiled and it works great!

trat
Автор

Miguel, Is there a way I can make the variables ' Number1, Number2, NumberResult: Integer;' into public variables and not have to type them in both procedures?
Thank you for your instructive videos. You teach in a wonderful way!

trat
Автор

Thank you very much Miguel, I find your videos helpful. I am puzzled however, that my Lazarus does not display options as I type code, like your installation does. For example, I can get "Caption" from the system, but not "StrToInt" or the variable identifiers have declared. Should I visit the Options menu? My regards, Brian.

CazBarry
Автор

How to parse from string to double and reverse? Pls answer :)

martastankovic
Автор

Cant remember we had to do all this stuff for the calc. Remember it being way easier :'D

Seppe
Автор

i need to watch it because my teacher told me

ultranoob-fbgp
Автор

I just spent a lot of time with a comment that might have helped struggling beginners (like me) and it vanished. I hope it is just being held for moderation.

drpatt