# rem statement

The rem statement designates that all
text that follows the statement on the same line is ignored by the
compiler.

**Synonyms:** !, *

## Syntax

```
rem text
```

## Parameter(s)

| text | Specifies remarks to be ignored by the compiler. |
| --- | --- |

## Description

The rem statement
is used to explain or document the program, allowing the programmer
to place comments anywhere in the program without affecting program
execution. It is provided for compatibility and readability.

## Example(s)

```
rem Last revised 1/1/02
! look for next value
* time to wrap up
```

## See also

- [! logical operator](https://d3codex.com/pickbasic-flashbasic/exclamation-logical-operator/)
- [* statement](https://d3codex.com/pickbasic-flashbasic/asterisk-statement/)
- [c command (PROC processor)](https://d3codex.com/proc/c-command-proc-processor/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)

---
Source: https://d3codex.com/pickbasic-flashbasic/rem-statement/ - part of the D3Codex reference.
