![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: error in code (buffer) Topic Summary: Created On: 13-Oct-2008 14:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Buffer b=create
Stream s s= read "D:/temp2delete/xmlfile.xml" for (s->b;!(end s); s->b) { delete b } close s On running the above snippet i get the following error "null buffer parameter was passed into argument position 2 in line 4" any idea where ive gone wrong |
|
![]() |
|
![]() |
|
You are deleting the Buffer b within the for loop. Just put the line 'delete b' after the closing bracket '}'.
Peter |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
error in code (buffer)
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.