Re: [Gambas-user] can't terminate fluidsynth processes by sending "quit" command over socket

2009-05-06 Thread Doriano Blengino
Kevin Fishburne ha scritto: > Hello everyone. I'm having an odd issue that's got me stumped. My GAMBAS > app opens several fluidsynth daemons listening on different ports and > communicates with them over a socket. While they do all send and receive > commands properly, when I issue the "quit" comm

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Sergio A. Hernandez
Opps i uploaded the wrong file. Sorry. On Wed, May 6, 2009 at 9:50 PM, Sergio A. Hernandez wrote: > Try the following. It is a complete different approach using the XML Writer. > Try it as a console project, just make sure you the gb.xml is selected under > PROJECT\PROPERTIES\COMPONENTS > > ' Ga

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Sergio A. Hernandez
Try the following. It is a complete different approach using the XML Writer. Try it as a console project, just make sure you the gb.xml is selected under PROJECT\PROPERTIES\COMPONENTS ' Gambas module file PUBLIC SUB Main() DIM docXML AS XmlWriter docXML = NEW XmlWriter 'this line is to save th

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Sergio A. Hernandez
Richard, See the attached file and let me know if this is the output you want. It is a HTML document. My approach is kind of different, probably the best way to handle this is by using the XML Writer. On Wed, May 6, 2009 at 8:52 AM, Stephen Bungay wrote: >   Hi Richard > >    This code snippet

[Gambas-user] can't terminate fluidsynth processes by sending "quit" command over socket

2009-05-06 Thread Kevin Fishburne
Hello everyone. I'm having an odd issue that's got me stumped. My GAMBAS app opens several fluidsynth daemons listening on different ports and communicates with them over a socket. While they do all send and receive commands properly, when I issue the "quit" command to any of the fluidsynth daemons

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Stephen Bungay
Hi Richard This code snippet will dump the text into a TextArea for you, it asumes (a bad thing) that there are no newline characters in the data and as such works with your sample. I used a button to launch the code... the important bits are in the middle... :) PUBLIC SUB ButtonGO_Clic

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Rolf Schmidt
Hi Richard > In one of my hl7 messages in the Free Text segment under an actual > pathology result, there is a list of sequential bood test results > representing previous results of the same type - , separated by tabs which > I need to display properly. as I've re-constructed the result as html,

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Stefano Palmeri
Il mercoledì 6 maggio 2009 15:01:45 richard terry ha scritto: > See the attached file for the data. Unfortunately I'm brain dead when it > comes to simple logic. > > In one of my hl7 messages in the Free Text segment under an actual > pathology result, there is a list of sequential bood test result

Re: [Gambas-user] help with some simple parsing

2009-05-06 Thread Emil Tchekov
You can use Replace$ to search and remove the "\t" character in your string. I am not so fluent in Gambas, but the good old VB6 does support "" (null string) as replacement, so I suppose that Gambas also do this. Just put your "a_line" there and search for any "\t", replace with "" (null string).