Euphoria – Library Routines
A large number of library routines are provided. Some are built right into the interpreter, ex.exe, exw.exe or exu. Others are written in Euphoria and you must include one of the…
A large number of library routines are provided. Some are built right into the interpreter, ex.exe, exw.exe or exu. Others are written in Euphoria and you must include one of the…
Euphoria has a library routine that returns the date and time to your program. The date() Method The date() method returns a sequence value composed of eight atom elements. The following example…
A sequence is represented by a list of objects in brace brackets { }, separated by commas. A sequence can contain both atoms and other sequences. For example − {2,…
When a condition is tested by if, elsif, until, or while using and or or operators, a short-circuit evaluation is used. For example − if a < 0 and b > 0 then -- block of code…
Program execution flow refers to the order in which program statements get executed. By default, the statements get executed one after another. However; many times the order of execution needs…
A for loop statement is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times. A for statement sets up a…
A loop...until the loop is similar to a while loops, except that a loop...until the loop is guaranteed to execute at least one time. Syntax The syntax of a loop...until is as…
A while loops is a control structure that allows you to repeat a task a certain number of times. Syntax The syntax of a while loop is as follows −…
Looping is yet another most important aspect of any programming language. While writing your program, you may encounter a situation when you have to execute the same statement many times…
The ifdef Statement The ifdef statements are executed at parse time, not runtime. This allows you to change the way your program operates in a very efficient manner. Since the ifdef statement…