data="">
{
{id="1" , x="0" , y="0" , constraint="free" , force="?"},
{id="2" , x="0" , y="120" , constraint="free" , force="sideway"},
{id="3" , x="120" , y="120" , constraint="free" , force="twist"},
{id="4" , x="120" , y="0", constraint="fixed" , force="?"}
}
header="------------------------------------------------"
print(header)
for _, getval in ipairs(data)
do
print (getval.id .."-----".. getval.x .."-----".. getval.y.."-----"..getval.constraint.."-----"..getval.force)
end
header="------------------------------------------------"
print(header)