Search found 5589 matches
- Jan 22, 2006 1:46
- Forum: Beginners
- Topic: Program code
- Replies: 33
- Views: 10121
- Jan 22, 2006 1:38
- Forum: Beginners
- Topic: Variale types(noob question)
- Replies: 8
- Views: 2124
- Jan 22, 2006 0:42
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
K, I'll try and work in a sorting algorithm, but first some changes need to be made: First of all, a change in two lines of the parser function: Function Parser(ByVal count as integer, ByVal tmpText as string, ByVal delimiter as ubyte = 9) as string Dim text as string Dim i as integer Dim arg as str...
- Jan 18, 2006 20:06
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 18, 2006 16:36
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
I will have a look over the code, to see if I can find anything wrong with it. If you could let me know which version of the compiler you're using, that might be helpful too. Er yes, I forgot to mention about the DIMs. You told me the input data was six lines, so I made the array big enough for that...
- Jan 17, 2006 23:45
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 17, 2006 14:22
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
That would be possible, but a bit tricky. You'll have to have a sort routine between checking for duplicates and writing the file. And if you want to sort by IP number, you'll have to write a function that will convert the IP number string to an integer. The converting function probably wouldn't be ...
- Jan 17, 2006 0:56
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
It's good to see that you're starting to adapt the code, to get it to do what you want it to do. OK, I don't know if this is the best way to do it, but this is how I'd check for duplicates: Basically, when I'm outputting the data, for each line, I'll first check each subsequent line to see if it has...
- Jan 16, 2006 15:56
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 16, 2006 15:28
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
i wonder would it be a bad idea to suggest using a comma separated list for these files? It would help by preventing confusion between tabs and spaces, and it could allow you to use INPUT without needing a parsing function, but I don't know if the input file format can be changed to that, and thing...
- Jan 15, 2006 22:09
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 15, 2006 20:41
- Forum: Beginners
- Topic: Feature-Request_ "rookie"-mode for the fbc?
- Replies: 24
- Views: 5640
- Jan 15, 2006 1:01
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 14, 2006 23:51
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
- Jan 14, 2006 1:20
- Forum: Beginners
- Topic: test parser
- Replies: 51
- Views: 10204
Sorry if I'm oversimplifying things a bit. I'll try and post some more helpful information. OK, first of all, you'll need to make an array of strings, call it 'lines', say: dim lines() as string At the moment the array's size is zero, so you'll need to give it a range of numbers to work with. Say 1 ...