About 192,000 results
Open links in new tab
  1. Pascal Examples | DaniWeb

    To make these Pascal samples easier to learn from and more portable (Turbo Pascal, Free Pascal, Delphi), consider a few fixes and patterns: Seed RNG once: call Randomize; outside …

  2. Random in pascal [SOLVED] | DaniWeb

    You are on the right track. In Pascal you seed the pseudo‑random generator once with Randomize, then call Random whenever you want a value. Random(N) returns an integer in …

  3. Tetris in Pascal | DaniWeb

    Just replace your code with code in 28 until 132. Lazarus (Free Pascal) is quite Delphi compatible. Had to use * because > 128 letters do not come out correctly as half graphics.

  4. 106 error in my program in pascal Help! | DaniWeb

    Jan 17, 2022 · Gnu Pascal is a part of the Gnu Compiler Collection, being a front-end for the same code generators used by gcc and g++. It isn't as commonly used as FreePascal, for a …

  5. Pascal simple interest code | DaniWeb

    A compact Pascal example that computes the closed form, detects zero interest and supports annuity‑due is below. Use Double/Extended if your compiler supports it for better precision.

  6. Pascal code, displaying the maximum value ... | DaniWeb

    hey, im really struggling displaying the maximum value in this array, i have managed to get the average and etc but getting it to display the maximum ...

  7. visual basic - Converting Pascal to VB | DaniWeb

    Pascal’s operators and set constructors are built into the language, which is why the original code is so compact. See Delphi set operators. A simple, fast VBA mapping is a Boolean array for …

  8. pascal - Binary constants??? | DaniWeb

    Mar 14, 2009 · The B/O/H suffixes work inside asm..end blocks, but Object Pascal code only recognizes decimal and $-prefixed hexadecimal numerals. That is why 00000011b raises …

  9. Delphi vs Pascal | DaniWeb

    May 5, 2013 · Code that assumes ANSI chars or uses PChar / Char as 8‑bit needs revisiting (use AnsiString, AnsiChar, or explicit encodings where appropriate). (docwiki.embarcadero.com) …

  10. Determining an Array's Length in Pascal | DaniWeb

    In Pascal there is no universal .length property, and the correct approach depends on the kind of array you are dealing with. For fixed-size (static) arrays, the element count is known at compile …