Tutorial by Topics: rs

The function parse convert text and files into expressions. The function eval evaluate expressions.
Although combinators have limited practical use, they are a useful tool in education to understand how programming is fundamentally linked to logic, and how very simple building blocks can combine to create very complex behaviour. In the context of Julia, learning how to create and use combinators...
PARSENAME ( 'object_name' , object_piece ) 'object_name'object_pieceIs the name of the object for which to retrieve the specified object part. object_name is sysname. This parameter is an optionally-qualified object name. If all parts of the object name are qualified, this name can have four...
In the first versions of iText, there was only one font class: Font. With this font, you could create a Font object for fourteen fonts from five font families: Helvetica (regular, bold, oblique, bold-oblique), Times Roman (regular, bold, italic, bold-italic), Courier (regular, bold, oblique, bold...
Creating a document in which you have to switch between styles frequently tends to be tedious in iText 5. You need to create a lot of Chunk objects and you always have to make a trade-off between applying the styles directly to every new Chunk or creating a helper method that creates the Chunk for...
The iText 5 class names PdfPTable and PdfPCell were chosen because we already had classes named Table and Cell to create table and cell objects at the highest programming level. There was also a class named PdfTable to be used by iText internally. Those classes had a lot of flaws and they were dep...
The code to convert a plain text file to a PDF document is pretty simple whether you use iText 5 or iText 7. In iText 7, you have the advantage that you can define the alignment at the level of the document. In iText 5, you have to set the alignment for every separate Paragraph object. To underst...
In iText 5, you can't use the add() method to add a Paragraph to a Document if you want to organize the content in columns. We can't reuse the code of the Text2Pdf.java (iText 5) example. Instead we have to create a ColumnText object, we have to add all the Paragraph objects to this object, and o...
In iText 5, we introduced the concept of page events to allow developers to add specific behavior when a document is opened, when a new page is opened, when a page ends, and when a document is closed. In the documentation, we made it very clear that it was forbidden to add content in the onStartP...
In the original design for iText, it was possible to create a high-level Document object, and then have different DocListener objects listening to that Document object. This was achieved by using different writers: a PdfWriter, an HTMLWriter, and an RtfWriter. When using a PdfWriter, a PdfDocument...
An async function is one that returns a promise. await yields to the caller until the promise resolves and then continues with the result. An iterator allows the collection to be looped through with a for-of loop. An async iterator is a collection where each iteration is a promise which can be awa...
Operators are evaluated in the following order: Mathematical operators Bitwise operators Concatenation operators Comparison operators Logical operators Operators with matching precedence are evaluated from left to right. The default order can be overridden by using parentheses ( and ) t...
csvReader := csv.NewReader(r) data, err := csvReader.Read()
using Compat Compat.String Compat.UTF8String @compat f.(x, y) It is sometimes very difficult to get new syntax to play well with multiple versions. As Julia is still undergoing active development, it is often useful simply to drop support for older versions and instead target just the ne...
Vararg Keyword: vararg is used in a method declaration to indicate that a variable number of parameters will be accepted. Spread Operator: An asterisk (*) before an array that is used in function calls to "unfold" the contents into individual parameters.
ParameterDescription-Help | -? | /?Shows the help-File <FilePath> [<Args>]Path to script-file that should be executed and arguments (optional)-Command { - | <script-block> [-args <arg-array>] | <string> [<CommandParameters>] }Commands to be executed followed by a...
Curses is a basic terminal ( or character display ) handling module from Python. This can be used to create Terminal based User interfaces or TUIs. This is a python port of a more popular C library 'ncurses'

Page 17 of 32