You may come across a situation where you would like to know the number of fields in a table. Sage X3 has a special feature of getting number of fields in a table with the help of “nbzon” keyword which will return you the value in integer
nbzon: nbzon determines the number of fields of an open table. [G:abv]nbzon is a variable in class [G] associated with a table declared by File order
Syntax:
[G:abv]nbzon
Parameter details:
abv: Abbreviation of the table.
Kindly refer to the below snippet of code for better understanding