انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Arrays: part 1

Share |
الكلية كلية هندسة المواد     القسم قسم البوليمرات والصناعات البتروكيمياوية     المرحلة 2
أستاذ المادة رلا سامي خضير عباس العيسى       15/03/2016 17:19:03
Arrays: part1
An array is a collection of simple variables of the same type to which the
computer can efficiently assign a list of values. An array is a consecutive group
of memory locations that all have the same name. To refer to a particular
location or element in the array, we specify the array name and the array
element position number. The Individual elements of an array are identified
using an index.
Declaring arrays:
Arrays may be declared as Public (in a code module), module or local. Module
arrays are declared in the general declarations using keyword Dim or Private.
Local arrays are declared in a procedure using Dim.
There are two types of arrays in Visual Basic namely: Fixed size, Dynamic
Size.
Fixed-Size Array: The size of array always remains the same size doesn t
change during the program execution. When an upper bound is specified in the
declaration. This type is divide to (One Dimensional Array & Multi-Dimensional
Array).
Dynamic array : The size of the array can be changed at the run time

المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم