I have a strange situation where I need to compile a program with both harbour and clipper. It is a simple program that just needs to create a dbf file.
I wrote one that compiles in harbour but the aadd function does not seem to exist in clipper.
TeamDbf := {}
AADD(TeamDbf, { "Team", "C", 10, 0 })
AADD(TeamDbf, { "Year", "N", 1, 0 })
AADD(TeamDbf, { "Buyers", "N", 7, 0 })
AADD(TeamDbf, { "House", "N", 7, 0 })
AADD(TeamDbf, { "Circ", "N", 7, 0 })
AADD(TeamDbf, { "Grs_Ords", "N", 7, 0 })
AADD(TeamDbf, { "Net_Ords", "N", 7, 0 })
AADD(TeamDbf, { "Sales", "N", 7, 0 })
AADD(TeamDbf, { "GRS_Profit", "N", 7, 0 })
AADD(TeamDbf, { "Net_Profit", "N", 7, 0 })
DBCREATE(alltrim(lower(MTEAMNAME)), TeamDbf)
There must be a way to create dbf files with clipper that harbour will also compile. All the clipper documentation has been replaced by harbour documentation.
How might I rewrite this so that it will work with clipper also?