# Add

`SUB Add ( Name AS String, Type AS Integer [ , Length AS Integer, Default AS Variant ] )`

Add a field into a table being created.

- Name is the name of the field.
- Type is its type. Use one of the Gambas datatype constant listed there.
- Length is the maximum length of the field. It is used only for `String` fields.
- Default is an optional default value. If not specified, the default value is NULL.