It's ok I cracked it...
I just needed to enclose the script in nothing more than double quotes to get the variables to
substitute correctly i.e.
    set script "CREATE TABLE $nm ( id integer primary key, $flds )"
    db eval $script
and ignoring the example syntax's '{}'i.e.
    gDb eval {CREATE TABLE std( fld defs here )}


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to