When you used Dim satement in GW basic?

1 answer

Answer

1128222

2026-07-29 01:00

+ Follow

In GW-BASIC, the DIM statement is used to declare arrays and allocate storage space for them. For example, DIM A(10) creates an array named A with 11 elements (0 to 10). This allows for efficient management of multiple data items under a single variable name, enabling easier manipulation of data within programs. Using DIM is crucial for organizing data structures in GW-BASIC.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.