I'm still trying to get what these operators mean In pascal.. I need an accurate answer. I've used textbooks and the Internet but no help
Here are the operators:
;
:=
.
{ }
Here are the operators:
;
:=
.
{ }
|
Delphi
Meaning of these operators? |
|
Jun 25, 2015 09:56 AM
(This post was last modified: Jun 25, 2015 10:00 AM by Volty.)
It's pretty simple once you get the hang of it.
(:=) is used to set the value of something. Example: label1.text := 'Text here'; NOTE: (:=) it is NOT used to compare values, for that, you just use (=) Example: if i = x then (ect...) (;) is used at the end of a line. Example: x := 1; (.) is basically used for properties of an object. Example: edit1.text := 'Text'; NOTE: the (.) shows what property, in this case, the text, we are changing. Objects will usually have multiple properties. ({}) Are commonly used for multi line comments, although when used with a ($) then can set linker properties. Example: {this is a multi line comment} Example 2: {$APPTYPE CONSOLE} Post if you have any other questions, I hope this was helpful. |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [Help] by schassisAug 27, 2025 05:53 PM | 3 | 332 |
Aug 27, 2025 05:53 PM Last Post: webdev77 |
| by James BurnhamAug 2, 2020 04:47 PM | 0 | 86 |
Aug 2, 2020 04:47 PM Last Post: James Burnham |
| [Help] by AsileuxAug 13, 2017 03:08 PM | 13 | 265 |
Aug 13, 2017 03:08 PM Last Post: MindOfLogic |