Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Large Array
Hilmar Zonneveld, Independent Consultant
Class for handling arrays. Arrays are not limited to 2 dimensions, or to 65,000 elements. Some additional benefits, for instance, only initialized elements actually use up space. 2003-06-17: Fixed a bug that appeared when saving a value for a second time (MJ). 2002-11-10: Numerous improvements by Martin Jindra.
Created on
21 years ago
Downloads
1050
File type
General information
Description
Array class, that allows to store multidimensional arrays (more than 2 dimensions), and isn't limited to 65,000 elements. This latest version includes numerous improvements, by Martin Jindra. I am also including my original class for reference; however, I recommend the improved version. Advantages, over using a regular array: * More than 2 dimensions. * More than 65,000 elements. * There is no need to resize the array - just indicate the number of dimensions when creating the array object. * Allows zero and negative subscripts. * Only initialized array elements actually use up space. Disadvantages: * Slower to access and retrieve than native arrays. * No support for native VFP array functions. * Syntax is different from standard array syntax. Martin Jindra's changes include the following:
  • Speed enhancements (ca. 50% faster).
  • Use of a Session class, if VFP6 or later is used. This required changing from VCX to PRG.
  • Support for NULL values.
  • Methods Save() and Restore() return .T. or .F., indicating success or failure. Also, the following error was fixed: previously, the restored large array was read/only.
  • Error handling (see sample). For a sample, run sample.prg for the original class, or sampleMJ.prg for the improved class.
    Created by
    Hilmar Zonneveld, Independent Consultant
    Hilmar Zonneveld works in programming since 1986, using dBASE, FoxPro and Visual FoxPro. He is available as an independent consultant. He currently works as a programmer at Bata Shoe Organization; also as an instructor at Cisco Networking Academy. You can contact him through the Universal Thread, or, via e-mail, at hilmarz@yahoo.com. Personal Web page (mainly in Spanish): www.geocities.com/hilmarz.

    Comments
    More downloads created from this member
    Hilmar Zonneveld, Independent Consultant
    This is a Visual FoxPro version of the "Game of Life". The Game of Life is not really a game, but a kind of simulation, where succesive states of a grid of cells are calculated based on the previous state.
    Created on
    17 years ago
    Downloads
    683
    File type
    Freeware
    Hilmar Zonneveld, Independent Consultant
    Converts an integer, in the range 1-3999, to a roman numeral. Sometimes the use of roman numerals may be desired in some reports.
    Created on
    19 years ago
    Downloads
    754
    File type
    Freeware
    Hilmar Zonneveld, Independent Consultant
    Do calculations with any desired precision. The class "math unlimited" supports addition, subtraction, multiplication and division, and several more. See Description for details. It can handle almost any desired precision; the only real limitation is the size of a VFP array. Also, there may be pract...
    Created on
    22 years ago
    Downloads
    910
    File type
    Rating
    5.00/5.00
    Hilmar Zonneveld, Independent Consultant
    You can use this file to automate your backup tasks. Requires separate compression program. The backup program illustrates the following programming techniques: 1) Load variables from a text-file, INI style. 2) Recursive processing of folders (used here to delete files recursively, in temporary fold...
    Created on
    22 years ago
    Downloads
    1585
    File type
    Hilmar Zonneveld, Independent Consultant
    A frequent requirement for reports is to print in text-mode, for fast printing. This can be done with report ... ASCII, but since I found that there were some problems, I preferred to create text files with "?" and "??" (many programmers prefer "@...say" instead), and send printer codes + the...
    Created on
    22 years ago
    Downloads
    3509
    File type
    Rating
    5.00/5.00