mn8 Language Reference | Index    

System.Base

Concepts

Antena1Wrapper
Wrapper concept for the Antena 1 channel.
Attribute

Attributes are the most primitive elements from the complex data types. Their role is to associate a value with a name.

BEEPClient

This concept can be used to execute SEP commands on specified BEEP server.

BEEPHandler
BEEP URL handler concept for all URIs starting with "beep://"
BigDecimal

Provides concepts for performing arbitrary-precision decimal arithmetic(BigDecimal).

Byte

A lexical byte constant evaluates to a value of type byte. The internal representation of bytes is 8-bit signed two's-complement. Overflows or underflow's during byte computations do not throw exceptions.

ByteArray

A ByteArray concept implements a mutable sequence of characters.

Character

A lexical character constant evaluates to a value of type character (or char). Characters are enclosed with single quotes. The internal coding of characters is Unicode. Character expressions may contain escape sequences that denote special characters.

Concept

In MN8 every data type is a concept and is inherited from the basic Concept data type or another data type which has it's roots in the Concept data type.

Cookie

The purpose of Cookie concept is to assist the navigation and retrieval process in the exploration of the hidden web (dynamically generated web pages).

Cron

You can create a cron table and assign some execution strings to crons

DSClient

To administer the database with remote control, DataStore use some special XML blocks ( otherwise modified SEP store and fetch command ) in each administer program.

DSResponse

Its help you to manipulate the DataStore response XML.

Date

Simple concept to facilitate the work with dates. Because on the World Wide Web there is no common denominator between date representation this concept has the purpose to assist the user in parsing and formatting dates.

DiscoveryChannelWrapper
Wrapper concept for the Discovery TV channel.
DiscoveryChannelWrapper:RO
Wrapper concept for the Discovery Romania TV channel.
DiscoveryChannelWrapper:UK
Wrapper concept for the Discovery UK TV channel.
DiscoveryChannelWrapper:US
Wrapper concept for the Discovery US TV channel.
DocReference
Documentation Tenplate generator.
DocReference:ScriptRef:attributes
Documentation Tenplate generator.
DocReference:ScriptRef:meta
Documentation Tenplate generator.
Element
Elements represent the building blocks of everything in MN8. An element is a primary data type which can have attributes and it's values can be a Concept (basically everything).
Emx
This concept converts the RFC822 email string to XML.
Emx:adress
Emx subconcept to hold elements for adress.
Emx:group
Emx subconcept to hold elements for adress group.
Emx:part
Emx subconcept to hold elements for message content.
EnvHandler
Helper concept to use mn8 environment variables.
Error

An atomic concept for error handler. Creating this concept with its constructor (create) is equal with launching an error. This error will look for handlers (concepts and methods) to handle the error. If no handlers, it will apply the default methods (the methods error or warning). If no default (global) methods sets in concept, will show the default error message. An error concept can have two types: error and warning (plus one, the silent mode only for unit tests).

Expression
The abstract concept has common super concept for regular and simple expression.
FTPClient

This concept can be used to execute FTP commands on specified FTP server.

FTPFile

This concept is working with FTP files.

FTPHandler

FTPHandler concept is working with FTP files.

Field
File

The File concept is an abstraction of the regular operating system dependent file or directory. It is returned by the File, FTP protocol handlers and also if the content type is unknown by the HTTP protocol handler.

FileHandler

FileHandler concept working with simple files.

Google
Concept which wraps some of the services offered by Google .
Google:SearchResult
Concept which wraps some of the services offered by Google .
Google:SearchResult:ResultElement
Concept which wraps some of the services offered by Google .
Google:WebQuery
Concept which wraps some of the services offered by Google .
HTMLForm

Just like the Cookie concept the HTMLForm concept is a helper concept. Forms can be seen as a special kind of links. It's completeness depends on the right parameters.

HTMLPage
This is the concept which will be returned by all functions (FROM) which have as main purpose the document retrieval and the documents happens to be HTML pages. The content of the HTML page will be available as a Stream stored in the content element of the Concept. The concept does not alter in this way the source of the HTML Page. It also allows the extraction of one ore more pieces of the page using regular expressions through the select method provided by the String concept. Once the desired HTML pieces are extracted it can be transformed in a Series of Tags through the Tag/getTags method. It also provides a method to return the content of the page directly as a Series of tags through the getTags method.
HttpHandler

HTTPHandler concept working with HTML pages.

IMDBWrapper
Wrapper concept for the Internet Movie Data Base
IMDBWrapper:Actor
Actor - Wrapper concept for the Internet Movie Data Base
IMDBWrapper:Movie
Movie - Wrapper concept for the Internet Movie Data Base
Integer

A lexical integer constant evaluates to a value of type integer. The internal representation of integers is 64-bit signed two's-complement. Overflows or underflow's during integer computations do not throw exceptions.

JDBCClient

The basic service for managing a set of JDBC drivers.

JDBCConnection

A connection (session) with a specific database.

JDBCResultSet

A table of data representing a database result set, which is usually generated by executing a statement that queries the database.

JDBCStatement

The concept used for executing a static SQL statement and obtaining the results produced by it.

JabberClient

Concept allow to paging messages to sent via a jabber server.

Locale

A Locale object represents a specific geographical, political, or cultural region.

Logical

The lexical constants true and false evaluate to a value of type Logical. Expressions containing operators that compare values (for example equal or less than) also evaluate to a logical. Logical expressions can be combined with logical "and" and logical "or" operators, and are evaluated in a short-circuited fashion.

Map

A map is a set of items mapped to a key and organized in an specific order . There is no restrictions related to duplicates of the elements of the map, but the keys that map them must be unique. A map does not perform (in an automatic manner) any ordering (unless wonted) of the elements. A map can contain any kind of data type including other maps in it's elements but the keys are restricted to primitive data types (except nil).

Mbox
This concept helps you to manage your mailbox
MemHandler
Helper concept to use mn8 environment variables.
Method

Method concept, you can get the methods using the .getConceptMethods.

NationalGeographicChannelWrapper
Wrapper concept for the National Geographic TV channel.
NationalGeographicChannelWrapper:RO
Wrapper concept for the National Geographic Romania TV channel.
NationalGeographicChannelWrapper:UK
Wrapper concept for the National Geographic UK TV channel.
NationalGeographicChannelWrapper:US
Wrapper concept for the National Geographic USA TV channel.
Nil

The keyword "nil" denotes a special value that indicates that a variable has no value. Note that we refer both to the value and the value type as nil. Variables that are declared without an initial value are initialized to the nil value.

POP3
The POP3 concept implements a client and a handler of the Internet POP3 Protocol defined in RFC 1939.
PrimaTVWrapper
Wrapper concept for the Prima TV channel.
ProTVWrapper
Wrapper concept for the Pro TV channel.
Process
Executes the specified external command in a separate process.
Real

A lexical real constant evaluates to a value of type real. The internal representation of reals is 64-bit IEEE 754 floating-point. No exceptions are thrown in real math.

ReferenceBuilder
MN8 API builder.
Regexp
Regexp denotes the regular expression as used in the Perl5 language.
Romania1Wrapper
Wrapper concept for the Romania 1 channel.
RomaniaCulturalWrapper
Wrapper concept for the Romania Cultural channel.
SMTPHandler
SMTPHandler encapsulates all the functionality necessary to send files through an SMTP server.
SOAPClient
Simple SOAP client concept
SOAPError
Error concept for SOAP transactions
Series

Series is a set of items organized in an specific order. There is no restrictions related to duplicates, and does not perform (in an automatic manner) any ordering (unless wonted) of the elements. A series can also contain any kind of data type including other series.

Simplex
Simplex represents the most basic expressions.
String

A lexical string constant enclosed in double quotes evaluates to a value of type string. A string consists of a sequence of characters. The number of characters in a string is called its length. The empty string, denoted by "", contains no characters and has a length of zero. There is no limit to the string size. Strings may be wrap across several lines in MN8 programs. Strings may also contain the escape sequences defined in Escape Sequences. Note that escape sequences are not expanded in strings that are written with the back-quote character.

Style
Apply the given style over the xml document.
System
The System concept contains several useful methods. It cannot be instantiated.
TVChannelGuide
Data type concept used by various TV channels wrappers
TVR1Wrapper
Wrapper concept for the TVR1 channel.
TVR2Wrapper
Wrapper concept for the TVR2 channel.
Tag

The Tag concept is related to the HTMLPage concept, but not only. The necesity for this concept appeared because of the lack of the Element concept to represent incomplete elements. Wrapping the content of a HTML page as elements would automaticaly create a DOM (Document Object Model) structure, which is not always desirable because of the computational overhead brought by this model.

Tar
This concept allow to read and write the traditional UNIX tar file.
Timer

Timer concept for schedule your jobs with assigning some execution strings to tasks

TypedSeries
TypedSeries is a special Series which can be contain only a single concept type.
URI
This concept able to get protocol handler for your specified URL.
URIHandler
The abstract concept URIHandler is the common super concept for all protocol handlers.
XMLRPCClient
This is a simple XMLRPC client concept.
XMLRPCHandler
XMLRPC URL handler concept for all URIs starting with "xmlrpc://" and "xmlrpcs://" (for secure connection)
Zip
This concept allow to read and write the standard ZIP file.