Hi
I am pretty sure there is no easy way without using CREATE <FILE> FROM <STRUCTURE FILE> etc as you woul need to start with a .dbf table of sorts, but you could still generate a .dbf table programmatically using a dummy table for starters.
1. Your dummy table would have to have the fields FIELD_NAME, FIELD_TYPE, FIELD_LEN, FIELD_DEC and FIELD_IDX.
2. Start with no records in this dummy table
3. use APPEND BLANK to add a record (which later becomes a field)
4. Examples of field types are below
FIELD_NAME FIELD_TYPE FIELD_LEN FIELD_DEC FIELD_IDX
MYFIELD1 N 6 0 Y
MYFIELD2 N 6 2 N
MYFIELD3 C 5 0 N
MYFIELD4 M 10 0 N
MYFIELD5 L 1 0 N
MYFIELD6 D 8 0 N
5. Close this dummy table
6. Then issue the CREATE <FILE> FROM <STRUCTURE FILE> command.
Then you can generate any table with any number of records from this.
If you are talking about creating a table using low-level coding, then thats another issue, but why would you when this could be as good a way as any?
Hope this helps