HeaderBlock.CreateProgram Method
Definition
Creates a new HeaderBlock for a BASIC program block.
c#
public static HeaderBlock CreateProgram(string filename, ushort length, ushort? autostartLineNumber = null, ushort? relativeStartOfVariableArea = null);Parameters
| Name | Type | Description |
|---|---|---|
filename | String | The filename for the block. |
length | UInt16 | The length of the data block in bytes. |
autostartLineNumber | UInt16? | The autostart line number, or null for no autostart. |
relativeStartOfVariableArea | UInt16? | The relative start of the variable area, or null to default to length. |
Returns
A new HeaderBlock for a BASIC program.