> For the complete documentation index, see [llms.txt](https://sron.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sron.gitbook.io/docs/console.md).

# Console

#### In order to perform faster and efficient print operation, SRON provides **'Console'** attribute.

#### **Syntax:**

```javascript
    console : (value1 , value2)
```

> **Note:** 'Console' requires only value type tokens.

#### Examples:

```js
Correct Syntax:
    console : (val1 , val2 , val3)
or
    console : (val1 , get_val(), "SRON", true, 1234.553)

------------ 

Wrong Syntax:
    @ you need to insert all variables 
    @ within round-brackets
    console : val1 , val2
or
    @ expects tokens which gives some value
    console : (val1, continue , break)
```

***

#### Sample code to print values using 'console' attribute

```js
{
    name : Main
    Int val1 = 2706
    Int val2 = 2003

    console : (val1, val2)
    console : ("\tSaksham")
}
```

#### **OUTPUT:**

> 27062003    Saksham

***

**Note:**

* Unlike **println()** function, it does not add a new line after printing values.
* It is faster than `print()` & `println` because it buffers the output before printing on console.
