HP 3000 Manuals

&IMPORT [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

&IMPORT 

Syntax 

&IMPORT {filename} [flag] [subject]
        {area    }
where:

filename              parenthetical string
area                  numeric value in the range 1 to 25
flag                  numeric value
subject               quoted string

Description 

&IMPORT copies an MPE file into the current HP Desk area.  The file to be
imported is identified either by filename representing a real MPE
filename or by area representing the object area containing the filename.
If area is present, it represents the current object area number that is
used by the HP Menu Intrinsics, and is obtained from the XDS. The flag 
parameter will be 0 if the file is to be imported as a non-text file.  If
the type of the file is known in the FILETYPE.PUB.HPOFFICE data file, the
file to be imported will be brought in as that type regardless of the
value of flag.  If the file is a text file and it is desired that the HP
Desk item also be text, the flag parameter should be set to 1.  If the
file is a text file and flag is 0, the item will be STANDARD MPE FILE.
The default value for the flag is 0.  If a subject is given, this is used
as the subject of the imported item.  If subject is not supplied, HP Desk
will prompt for a subject for the item.  If a null response is given
(only the RETURN key is pressed) HP Desk will assign the fully qualified
name of the file as the subject.

See also:  &CLEAROBJ, &EXPORT, <OBJECTNAME>.

Example 

     DELETE "Weekly Status Report"
     &IMPORT (Report) 1 "Weekly Status Report"

This deletes any HP Desk item called "Weekly Status Report" and then
brings the file, "Report" into HP Desk as a text file with a subject of
"Weekly Status Report".



MPE/iX 5.0 Documentation