---
title: Versiones de BrightScript
slug: develop/es/versiones-de-brightscript
docTags: 
createdAt: 2025-03-11T07:07:17.199Z
---

| **Matriz de versiones, 9 de enero de 2009**                                                                      | Rama HD20000 1.3 | HD2000<br /> Rama 2.0 | Línea principal compacta |
| ---------------------------------------------------------------------------------------------------------------- | ---------------- | --------------------- | ------------------------ |
| Fecha de SnapShot                                                                                                | 1/7/2008         | 7/16/2008             | 1/9/2009                 |
| Defxxx, on, gosub, clear, random, data, read, restore, err, errl, let, clear, números de línea                   | **X**            | **X**                 |                          |
| Matrices intrínsecas                                                                                             | **X**            | **X**                 |                          |
| Compilador                                                                                                       |                  | **X**                 | **X**                    |
| AA y operador dot y referencia m                                                                                 |                  | **X**                 | **X**                    |
| Sub/Funciones                                                                                                    |                  | **X**                 | **X**                    |
| ifEnum y For Each                                                                                                |                  | **X**                 | **X**                    |
| For/Next no siempre se ejecuta al menos una vez                                                                  |                  | **X**                 | **X**                    |
| Exit For                                                                                                         |                  | **X**                 | **X**                    |
| Tipo no válido. Los errores que antes eran Int Zero ahora son Invalid. Se agregó roInvalid; autoboxing no válido |                  |                       | **X**                    |
| Los arrays usan roArray; se agregó ifArray                                                                       |                  |                       | **X**                    |
| Ya no se permite el uso de variables no inicializadas                                                            |                  |                       | **X**                    |
| Sub puede tener "As" (como Function)                                                                             |                  |                       | **X**                    |
| Elemento roXML y operaciones XML con punto y @                                                                   |                  |                       | **X**                    |
| Cambio en Type(): ahora coincide con los nombres de declaración (por ejemplo, Integer y no roINT32)              |                  |                       | **X**                    |
| Se agregó roBoolean                                                                                              |                  |                       | **X**                    |
| Se agregó Type dinámico; ahora Type es opcional en Sub/Functions                                                 |                  |                       | **X**                    |
| And/Or no evalúa términos innecesarios                                                                           |                  |                       | **X**                    |
| Valores de parámetros predeterminados de Sub/Fun (p. ej. `Sub (x=5 As Integer)`)                                 |                  |                       | **X**                    |
| Declaración AA Op \{ }                                                                                           |                  |                       | **X**                    |
| Operación de declaración de arrays \[ ]                                                                          |                  |                       | **X**                    |
| Cambiar Array Op de ( ) a \[]                                                                                    |                  |                       | **X**                    |
| Funciones anónimas                                                                                               |                  |                       | **X**                    |
| Se agregó el recolector de basura Circ. Ref.                                                                     |                  |                       | **X**                    |
| Agregar Eval(), Run() y Box()                                                                                    |                  |                       | **X**                    |

