1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 17:55:52 +00:00
QB64-PE/internal/help/ERASE.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

26 lines
733 B
Plaintext

The '''ERASE''' statement is used to clear all data from an array. [[$STATIC]] [[Arrays|array]] dimensions will not be changed.
{{PageSyntax}}
:: ERASE ''ArrayName'' [, ''arrayname2''...]
* String array elements will all become null strings(&quot;&quot;) and numerical array elements will all become 0.
* Multiple arrays can be erased using commas between the array names.
* [[$DYNAMIC|Dynamic]] arrays MUST be [[REDIM]]ensioned if they are referenced after erased.
* Dimension subprocedure arrays as [[STATIC]] to use ERASE and not have to REDIM.
* You do not have to include the array brackets in an ERASE call.
''See also:''
* [[DIM]], [[REDIM]]
* [[CLEAR]]
* [[STATIC]]
* [[$DYNAMIC]]
* [[Arrays]]
{{PageNavigation}}