About 2,600,000 results
Open links in new tab
  1. Pascal Arrays - Online Tutorials Library

    Pascal programming language provides a data structure called the array, which can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection …

  2. pascal - How to use a variable in an array? - Stack Overflow

    Jul 27, 2016 · In FreePascal, you can use dynamic arrays, though. Their lengths can be set and changed at runtime. var x: Integer; s: array of Real; n: array of string [30]; // why not just …

  3. Arrays in Pascal - Miss B's Lab

    Oct 5, 2023 · Unlike other types of variables, when you declare an array, you may specify the number of items that will be stored in it. In Pascal programming, we declare arrays like this: …

  4. Pascal Programming/Arrays - Wikibooks, open books for an …

    Jan 2, 2023 · Pascal’s strong typing system prevents you from assigning real values to integer variables. The real value may contain a fractional part that an integer variable cannot store. …

  5. Arrays And Variable In Pascal - Blogger

    Nov 12, 2010 · You will need to use a temporary variable to store values while you are swapping them. program Arrays; var a: array[1..5] of Integer; i, j, tmp: Integer; begin a[1] := 23; a[2] := …

  6. The array in Pascal. Programs for arrays in Pascal

    The data structure that occurs in Pascal in order to store the values of such a table is called a two-dimensional array. A description of such an array is possible at once using two methods. Var …

  7. Lesson 08- ArraysPASCAL PROGRAMMING

    Mar 12, 2015 · Just like ordinary variables, arrays should be initialised, otherwise scrap data will remain stored in them. If we want to intialise 2 whole 20-sized integer and boolean arrays to 0 …

  8. Pascal - Arrays

    Apr 14, 2013 · Pascal programming language provides a data structure called the array, which can store a fixed-size sequential collection of elements of the same type. An array is used to …

  9. Assign a variable a value from an array - pascal - Stack Overflow

    I have an array and I wish to assign the value of part of the array to a string, however, I get an error: Left side cannot be assigned to . when I do this: (s):=(Array[1]); Does anyone know how …

  10. Chapter 5: Data Structures | programming-for-all-pascal

    Arrays allow you to store multiple values in a single variable and access them using an index. Declaring Arrays var arrayName : array [ indexRange ] of dataType ;

  11. Some results have been removed
Refresh