# Inputs and Outputs

{% hint style="info" %}
This section will take you through basic inputting and outputting of data in Pseudonaja.
{% endhint %}

### Inputs

To input values, the INPUT command is used, however the variable that is being input into must first be declared, as follows:

```
DECLARE <variable name> : <data type>

INPUT <variable name>
```

An example of this would be:

```
DECLARE num1 : INTEGER

INPUT num1
```

### Outputs

To output values, the OUTPUT command is used, as follows:

```
OUTPUT <value>
```

Multiple values can be output at the same time by using commas between each value.

```
OUTPUT <value1>, <value2>, <value3>
```

An example of a single output would be:

```
OUTPUT num1
```

Or multiple outputs:

```
OUTPUT num1, num2, num3
```


---

# 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://pseudonajadocs.gitbook.io/editor/guides/inputs-and-outputs.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.
