[Gambas-user] Stream.EndOfLine (gb)

Fabien Bodard gambas.fr at ...626...
Wed Jan 29 10:40:32 CET 2014


No

Dim hfile as File

hFile = open MyFile for write
for i = 1 to 200
Write #hFile, sValue & chr(170)
next

hFile.Close

End

2014-01-29 wally <wally at ...2037...>:
> Hi,
>
> is there a way to set a custom EndOfLine ?
>
> e.g. &hAA   /   Chr$(170)
>
> wally
>
>
> from Docs:
>
> Stream.EndOfLine (gb)
>
> Property  *EndOfLine*  As  Integer
>
> Returns or sets the newline separator used by this stream
> <http://gambasdoc.org/help/def/stream?v3>.
>
> The possible values are:
>
>   * gb.Unix <http://gambasdoc.org/help/comp/gb/gb/unix?v3> for lines
>     separated by Chr$ <http://gambasdoc.org/help/lang/chr?v3>(10).
>   * gb.Windows <http://gambasdoc.org/help/comp/gb/gb/windows?v3> for
>     lines separated by Chr$ <http://gambasdoc.org/help/lang/chr?v3>(13)
>     & Chr$ <http://gambasdoc.org/help/lang/chr?v3>(10).
>   * gb.Mac <http://gambasdoc.org/help/comp/gb/gb/mac?v3> for lines
>     separated by Chr$ <http://gambasdoc.org/help/lang/chr?v3>(13).
>
> The value of this property is used by LINE INPUT
> <http://gambasdoc.org/help/lang/lineinput?v3> and PRINT
> <http://gambasdoc.org/help/lang/print?v3>.
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends.  Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard




More information about the User mailing list