Contact | Privacy | Datenschutzerklärung | Impressum


Format: resize (object, logsize, physize)

Purpose: Resizes an object. The object parameter must denote an object. The logsize and physize parameters must be integers. If physize is a value less than logsize, physize is set to the value of logsize. The resized object will contain logsize fields. To avoid object reallocation each time the object is extended, a physize value greater than logsize indicates that the object should actually provide physize fields. Thus, the object is only reallocated if its current number of physically allocated fields is less than physize.

Return Values: This function doesn't return a value.


<let a=array(1);   // array has 1 element.
 resize(a, 12, 15);// array has 12 elements,
                   // but memory already allocated for 15 elements.
 resize(a, 14);    // array has 14 elements, but resize did not do
                   // any memory reallocation.

See Also: array().

This page was dynamically generated by the web application development tool RADpage of H.E.I. Try the AJAX Article (in German) on
© 1996-2024 H.E.I. All Rights Reserved.

Component Guide
  Language Guide
  Language Ref.
    General Design
    Lexical Structure
    heitml Tags
    heitml Functions
    Advanced Functions
    Database Access
    Global Variables
    Form Fields
    Server Variables
    heitml Syntax
  Component Ref.
  Class Library
  User Components
  New Features
  heitml 1
User Guide
Contact / Impressum