2014-11-17 22:47 GMT+01:00 Tobias Boege <[email protected]>:
> On Mon, 17 Nov 2014, Fabien Bodard wrote:
>> This is the hexdump
>>
>
> Yep, it has those weird 0xd 0xa sequences, a.k.a. Windows-style newlines,
> which my original file didn't have... Can't be too difficult to make the
> patch parser resistant to that, as Gambas already supports different line
> delimiters in the Stream class.
>
> Also Sean, sorry for hijacking this thread.
yes it's that :
125: aScan = Scan(.LineInfo, "@@ -* +* @@")

the line finish by \r

so in this case aScan is null..

you can simply do : aScan = Scan(Rtrim(.LineInfo), "@@ -* +* @@")

It a good moment for hijacking !

>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to