# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sron.gitbook.io/docs/console.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
