[V4MD2] (VField reference not assigned)

Sean Wilson snw at paradise.net.nz
Tue Jun 14 10:22:00 CDT 2005


>Cheers Sean!
>You got ot - thats exactly the problem!

Excellent.

>But there is already my next problem with the examples :-(
>everywhere where a field name is used I get an script error:
>property not found
>
>e.g.: in SQL_way -> Bind.dir
>Step 1 using function ProduceTableData()
>f = table.field(j)
>row[symbol("col" & j)] = f.name

I'm seeing the same problem. When I look in the debugger at the point the 
error is thrown, f (which I think should be an instance of VField) is 
instead a number like 73187688. It looks like obtaining a field ref from an 
instance of a table with f = table.field(j) is failing - this would appear 
to be a bug.
Actually, something stranger is going on - my message window suggests that 
an instance of VField *is* created, but it the reference created doesn't 
appear to be assigned properly:
* V4MD * : VTable.field() ...
* V4MD * : VField.new() ...
done
done

So, it's not something you're doing wrong, but definitely something that 
one of the xtra developers needs to look into.

Cheers,
-Sean. 




More information about the Valentina-beta mailing list