![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: String concatenation Topic Summary: Created On: 19-Apr-2005 13:22 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Why is it that shortly after asking the world for help, you spot the really basic errors that are causing the problems in the first place. the start of the for loop should read: for (i=o; i <= skipl; i++) and the if statement should read: if (comtest != ",") { Oh well, an hour away from it helped. | |
![]() |
|
Hi,
I was hoping that some of you fine people would be able to help me. I have a skip list with a comma separated string list in it (actually they are absolute numbers). I want to extract the strings between the commas one at a time. To do this I set a little loop going which gets the first character, checks to see if it is a comma and if it isn't a comma append it to a buffer. If it is a comma then it returns the object for the absolute number and prints some of it's attributes. I am getting syntax errors on bskiptstr += comtest line and on the else statement. skipl is the length of the teststr string and bskipstr is the buffer, comtest is a string. Any ideas? Regads Neal |
|
![]() |
|
![]() |
|
Why is it that shortly after asking the world for help, you spot the really basic errors that are causing the problems in the first place.
the start of the for loop should read:
for (i=o; i <= skipl; i++)
and the if statement should read:
if (comtest != ",") {
Oh well, an hour away from it helped.
|
|
![]() |
|
![]() |
|
"Why is it that shortly after asking the world for help, you spot the really basic errors that are causing the problems in the first place"
Because verbalizing the question is a key to solving the problem. - Louie Edited: 19-Apr-2005 at 18:32 by Louie Landale |
|
![]() |
|
![]() |
|
Edited: 19-Apr-2005 at 18:30 by Louie Landale |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
String concatenation
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.