Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Using Case to calculate surface
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
a Unit problem?
by
EventHorizon
[
Today
at 11:59:09 am]
JEDI error but unit compi...
by
Roland57
[
Today
at 11:50:11 am]
Using KeyPress event, how...
by
Bart
[
Today
at 11:32:53 am]
Configure JCF messages
by
DomingoGP
[
Today
at 11:26:55 am]
IDE instability on Raspbe...
by
rvk
[
Today
at 10:37:14 am]
Boleeman's projects are p...
by
AlexTP
[
Today
at 10:18:04 am]
Understanding and adjusti...
by
circular
[
Today
at 09:55:30 am]
Your best UI design - con...
by
circular
[
Today
at 09:36:11 am]
ZeosDBO and querys using ...
by
Zvoni
[
Today
at 09:27:17 am]
STARS with line border st...
by
Boleeman
[
Today
at 09:13:29 am]
Any upgrades to fpWeb pag...
by
AlexTP
[
Today
at 08:10:55 am]
Zeos components. Had to c...
by
dbannon
[
Today
at 07:26:11 am]
A button require administ...
by
Fibonacci
[
Today
at 05:57:21 am]
How to detect one externa...
by
d2010
[
Today
at 12:24:32 am]
Center Lost Window featur...
by
Tony Stone
[
Today
at 12:06:16 am]
Complex package installat...
by
wp
[March 27, 2024, 10:47:45 pm]
Controlling the behavior ...
by
wp
[March 27, 2024, 10:43:40 pm]
A "leisure" question on W...
by
EventHorizon
[March 27, 2024, 10:18:38 pm]
need advice about the fol...
by
jamie
[March 27, 2024, 09:56:39 pm]
[SOLVED] Completion box s...
by
Martin_fr
[March 27, 2024, 08:44:09 pm]
Dialog ShowModal and an i...
by
d7_2_laz
[March 27, 2024, 08:25:18 pm]
Offical launch of the 1 B...
by
Gustavo 'Gus' Carreno
[March 27, 2024, 07:41:48 pm]
Problem setting length of...
by
Remy Lebeau
[March 27, 2024, 05:41:10 pm]
TDBLookupcombobox seems u...
by
Fantablup
[March 27, 2024, 05:18:04 pm]
Poll: Watches and Display...
by
Martin_fr
[March 27, 2024, 03:58:57 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Using Case to calculate surface (Read 2096 times)
godik
New Member
Posts: 23
Using Case to calculate surface
«
on:
November 07, 2018, 08:38:55 pm »
procedure TForm1.Button1Click(Sender: TObject);
var a,b,c,V,S:real;
begin
end;
end.
Hello, I want to make a program which can calculate surface or volume of block through Case and using RadioGroup,Label,Button,Edit.I have no idea how to do it.Thanks
Logged
howardpc
Hero Member
Posts: 4144
Re: Using Case to calculate surface
«
Reply #1 on:
November 07, 2018, 09:59:01 pm »
I don't usually do other people's homework, but look at the attached project, which uses extended rather than real (but you could obviously change this if desired).
Logged
Bart
Hero Member
Posts: 5275
Re: Using Case to calculate surface
«
Reply #2 on:
November 07, 2018, 10:01:26 pm »
Teacher will be surprised
Bart
Logged
godik
New Member
Posts: 23
Re: Using Case to calculate surface
«
Reply #3 on:
November 07, 2018, 10:07:08 pm »
Its not really a homework but i want to learn case but i dont know how to start
«
Last Edit: November 07, 2018, 10:10:58 pm by godik
»
Logged
Bart
Hero Member
Posts: 5275
Re: Using Case to calculate surface
«
Reply #4 on:
November 07, 2018, 10:21:09 pm »
See
The Case statement
in the offical documentation.
Bart
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Beginners
(Moderators:
FPK
,
Tomas Hajny
) »
Using Case to calculate surface
TinyPortal
© 2005-2018