script

5reg

script

A script packet

Content Model
    script ::= (&xml-var;*, &xml-code;,
                &xml-tag;*,
                &packetsyn1;
                &packetsyn2;
                &packetsyn3;
                &packetsyn4;
                &packetsyn5;*)
Attributes
Name | Type
&packetattrlist2col;

&eltaddedver;7.0

## Description

This represents a script packet, one of the many types of packet that together form the packet tree that a user sees when they open a ®ina; data file.

A script packet stores a &python; script offering direct low-level access to the ®ina; calculation engine. The &python; code is stored in the child &xml-code; element.

A script may contain variables representing other packets in the same packet tree; these are described by the child &xml-var; elements.

&packetchilddesc;

### Parents

&packetparents;

### Children

The following elements occur in `script`, and are specific to the script packet type:

- &xml-code;
- &xml-var;

. &packetchildren;

## Attributes

&packetattrdesc;