i'm using TBS to generate SQL (create table...)
fields of the table are in a TBS block, it's OK.
create table mytable (
name1 integer,
name2 varchar(20),
nameLast varchar(20)
);
|
each field instruction ends with a "," except the last !
is there any condition in TBS like "first_item" and "last_item" ?
i add 2 logicals called "tbs_first" and "tbs_last" which i can test but this sucks when i use a block condition :
[field;block=begin;when...]
...
[field;block=end]
|
when my first and last fields haven't the condition, i can't test my logicals.
any idea ?