So ist es, mit A(10) erzeugst du 10 As: A(0), A(1)...
Heißt übrigens Array
Weiter Bedingungen:The first element of an array is always one. This means that elements are 1-based.
Der Link dazu: http://www.ckuehnel.ch/bascom_errata.htmCode:'Defining an array with 10 element Dim A(10) As Byte 'correct Const Cl = 10 Dim B(cl) As Byte 'correct Dim Vl As Byte vl = 10 Dim C(vl) As Byte 'not allowed
Hier ein Thread, wos zwischenzeitlich um das selbe Thema geht:
http://www.mikrocontroller.net/forum/read-1-125551.html
MFG Moritz







Zitieren

Lesezeichen