-
Posts
4706 -
Joined
-
Last visited
-
Days Won
7
Content Type
Profiles
Forums
Calendar
Store
Downloads
Everything posted by CouldnoT
-
While loop In the while , the condition is checked first before entering the loop, but repeat enters the loop first then it checks the condition. That means repeat always executes its statement(s) once at least, but while loop could prevent entering the first cycle if the condition returns False from the beginning. while loop needs begin end if there are multiple statements that need to be executed in a loop, but repeat does not need begin end, its block (repeated statements) starts from the repeat keyword to the until keyword. Example : var Num: Integer; begin Write('Input a number: '); Readln(Num); while Num > 0 do begin Write('Clanin is noob'); num:= 0; end; Write('Press enter key to close'); Readln; end. The while loop has no loop counter and it will spam the order between begin and end forever, and for that reason we have used the set num to 0 to stop the loop.
-
Snakes everywhere ???
-
I like both, different feelings and experiences. But i'm more intro in-house movies especially when it's raining.
-
I listen to Jazz, classic music, hip hop, traditional local music, guitar/piano instrus, trap, country and R&B. I rarely listen to other types too.
-
Author: Liz Lawson Book title: The Lucky Ones Publication year: 2020 Genre: Young Adult, Contemporary, Fiction, Music Number of pages: 352 pages Short description: May is a survivor. But she doesn't feel like one. She feels angry. And lost. And alone. Eleven months after the school shooting that killed her twin brother, May still doesn't know why she was the only one to walk out of the band room that day. No one gets what she went through, no one saw and heard what she did. No one can possibly understand how it feels to be her. Zach lost his old life when his mother decided to defend the shooter. His girlfriend dumped him, his friends bailed, and now he spends his time hanging out with his little sister...and the one faithful friend who stuck around. His best friend is needy and demanding, but he won't let Zach disappear into himself. Which is how Zach ends up at band practice that night. The same night May goes with her best friend to audition for a new band. Which is how May meets Zach. And how Zach meets May. And how both might figure out that surviving could be an option after all. Personal review: This book is such a heart-wrenching, hard hitting, emotional journey that I devoured from start to finish. For a debut novel this is truly fantastic and unfortunately so relevant to the society we live in today, especially if you're in America. The Lucky Ones is a story of tragedy, trauma, coping, and hope all wrapped into one story that, let's face it, made my ugly cry pretty damn hard but it was astutely worth it.
-
Author: June Hur Book title: The Silence of Bones Publication year: 2020 Genre: Historical Fiction, Young Adult, Mystery, Fiction Number of pages: 336 pages Short description: Homesick and orphaned sixteen-year-old Seol is living out the ancient curse: “May you live in interesting times.” Indentured to the police bureau, she’s been tasked with assisting a well-respected young inspector with the investigation into the politically charged murder of a noblewoman. As they delve deeper into the dead woman's secrets, Seol forms an unlikely bond of friendship with the inspector. But her loyalty is tested when he becomes the prime suspect, and Seol may be the only one capable of discovering what truly happened on the night of the murder. But in a land where silence and obedience are valued above all else, curiosity can be deadly. Personal review: This book is phenomenal. It's a well-paced, well-plotted mystery, but it's also so much more than that. It's an exploration on family, about what loyalty means, and is just gorgeously written.
-
Autor: Khalil Gibran Book title: The Broken Wings Publication year: 2003 Genre: Poetry, Fiction, Novels, Classics Number of pages: 132 pages Short description: This is the exquisitely tender story of love that beats desperately against the taboos of Oriental tradition. With great sensitivity, Gibran describes his passion as a youth for Selma Karamy, the girl of Beirut who first unfolded to him the secrets of love. But it is a love that is doomed by a social convention which forces Selma into marriage with another man. Portraying the happiness and infinite sorrow of his relationship with Selma, Gibran at the same time probes the spiritual meaning of human existence with profound compassion. **Lightning Print On Demand Title. Personal review: A really great book and immensely enlightening. The author greatly presents many things. He has presented himself as a staunch critic of the string Religious Aspirations people share and blind faith in those who claim themselves to be the closest to God. He also shows what it means to love someone with all heart and mind. He in this book also presents a Philosophical (and Spiritual) perspective of love as well!. This shows he was well ahead of his time!
-
Do you have any package that may work on sublime text ?
-
Sub types There are many sub types for variables, for example, Integer number subtypes differ in the range and the number of required bytes to store values in memory. The table below contains integer types, value ranges, and required bytes in memory: We can get the minimum and maximum values and bytes sizes for each type by using the Low, High, and SizeOf functions respectively, as in the example below: program SubTypes; uses wincrt; begin Writeln('Byte: Size = ', SizeOf(Byte), ', Minimum value = ', Low(Byte), ', Maximum value = ', High(Byte)); Writeln('Integer: Size = ', SizeOf(Integer), ', Minimum value = ', Low(Integer), ', Maximum value = ', High(Integer)); Readln; // avoid closing the program, you can also use readkey end.
- 1 reply
-
1
-
For loop You can execute for statements for a specific number of cycles using a counter like this example: var i: Integer; Count: Integer; begin Write('How many times? '); Readln(Count); for i:= 1 to Count do Writeln('Hello there'); Write('Press enter key to close'); Readln; end. We should use ordinal types like Integer, Byte, and Char in for loop variables. We call this variable a loop variable or loop counter. The value of loop counter can be initialized with any number, and we can also determine the last value of loop counter. For example, if we need to count from 5 to 10, then we can do this: for i:= 5 to 10 do We can display loop counter in every cycle of the loop, as in the modified example below: var i: Integer; Count: Integer; begin Write('How many times? '); Readln(Count); for i:= 1 to Count do begin Writeln('Cycle number: ', i); Writeln('Hello there'); end; Write('Press enter key to close'); Readln; end. Note: that this time we need to repeat two statements, and for that reason we have used the begin . . end keywords to make them one statement.