07-08-2020, 09:38 +0200
Search result (1)
All posts by: kennedyt
AuthorPost
Topic: Object Name Already Exists (Construcuting Objects)   Forum: workimminent problem solving      Goto post
kennedyt  06-07-2010, 14:52 | Object Name Already Exists
Member since 06/2010
1 Post
I have this piece of code that uses a library in a risk managment system. I am however having problems when trying to construct an object on the last line of the code snippet.

What does the error Object name already exist indicate

Please help



  1. returns the size of the the ValTransList
set valtranslistsize [ValTransListSize $tr]
puts $outfile "valtranslistsize is $valtranslistsize"

  1. returns the Val Transactions object corresponding to the index specified
for {set i 0} {$i<$valtranslistsize} {incr i} {

set vt [ValTransactions $i $tr]
set valfromtransactions [ValFromTransactions $vt]
puts $outfile "Valtrans = $vt"
puts $outfile "Valfromtrans = $valfromtransactions"


set pValPtr [pValuable_fetch $valex]
set pValType [pValuable_valType $pValPtr]
set valObjPtr [pValuable_castTo$pValType $pValPtr]
$pValType thisPort -this $valObjPtr
Go to forum
Unclassified NewsBoard 1.5.3-d | © 2003-4 by Yves Goergen | Time: 159.8 msec, CPU time: 70.6 msec, 28 Database queries in 118.6 msec | 2.8 kB (9.8 kB) | Timezone: +0200