HPlogo QUERY/iX Reference Manual > Chapter 3 QUERY/iX COMMANDS

CREATE SPACE

MPE documents

Complete PDF
Table of Contents

E0300 Edition 7 ♥
E1098 Edition 6

Reports the number of unused records in the current Proc-file.

Syntax



  C[REATE] SPACE

Discussion


You can use the CREATE SPACE command to find out how much space is left in the current Proc-file before you begin creating a new procedure. If you try to create a procedure that is larger than the space left in the current Proc-file, you will receive an error message and part of the procedure will be lost. If you know there is not enough space left, you can either create a new Proc-file, declare another Proc-file which has more space available, or delete unused procedures from the current Proc-file.

Each stored procedure starts on a record boundary and extends through as many records as necessary. Generally, one record is sufficient for most UPDATE and FIND commands. Long REPORT commands may take more than one record.

Example



  >CREATE SPACE
  RECORDS = 100
  >DESTROY REPORT7
  >CREATE SPACE
  RECORDS = 109

In the previous example, nine records of space were gained when the procedure REPORT7 was deleted.




CREATE


DATA-BASE=