![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: can't get conntent from DBE (invalid history type) Topic Summary: Created On: 30-Oct-2006 11:30 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi,
I created a DialogBox(DB) where you put in a Number z ! After that a DB with x fieldelements is created! Now I want to compare the strings from the z fieldelements with my Module names but I always get the mistake "invalid history type"! watch the code! Best regards Mussie |
|
![]() |
|
![]() |
|
Others here know the exact rules, but using functions withing prints and if statements often doesn't work. I routinely brace my functions. Try this line:
print "input from mo: " (get(modo, l, 1)) "\n" - Louie |
|
![]() |
|
![]() |
|
Thanks for the answer!
But this way works correctly (string(get(modo, l, 1))) the input in the modo array is DBE and needs to be casted to string! -Mussie |
|
![]() |
|
![]() |
|
Aaah, yes. Array 'get' doesn't know the type of data stored and therefore returned and yes you need to cast it correctly.
Mental note to self: always cast array 'get' and also Skip 'key'. In fact, mark in my hardcopy DXL manual... - Louie |
|
![]() |
|
![]() |
|
Aaah, yes. Array 'get' doesn't know the type of data stored and therefore returned and yes you need to cast it correctly.
Mental note to self: always cast array 'get' and also Skip 'key'. In fact, mark in my hardcopy DXL manual... - Louie |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.