Search the web
Sign In
New User? Sign Up
s-base · S-Base Users Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Carriage Returns / Line Feeds - @chr(13)   Message List  
Reply | Forward Message #620 of 1020 |
Re: [s-base] Carriage Returns / Line Feeds - @chr(13)

In message <opr3em05yednezpa@bluewater>
Simon Glass <s-base@...> wrote:

> Hi Robin,
>
> Assuming I understand correctly, you could use 10 which is the linefeed
> character, or just use print instead of bput to output the text (which puts
> a LF at the end of each line).
>
> Regards,
> Simon
>

Thank you, Simon - that's exactly what I wanted. I had no idea that
@chr(10) was a linefeed - none of the asci code lists I have gives that
info.

print's ok some of the time, but as some of the lines I'm logging are
fairly long and complex it's easier to construct them a bit at a time,
using a linefeed at the end.

Regards,

--
Robin Hampshire
Robin@...



Sun Feb 15, 2004 5:19 pm

robinsbase
Offline Offline
Send Email Send Email

Forward
Message #620 of 1020 |
Expand Messages Author Sort by Date

I have a silly problem with creating text files from S-Base. If I create the following buffer contents and save them to a file: local carriage_rtn = @chr(13) ...
Robin Hampshire
robinsbase
Offline Send Email
Feb 6, 2004
8:57 am

Hi Robin, Assuming I understand correctly, you could use 10 which is the linefeed character, or just use print instead of bput to output the text (which puts a...
Simon Glass
s-base@...
Send Email
Feb 15, 2004
9:23 am

In message <opr3em05yednezpa@bluewater> ... Thank you, Simon - that's exactly what I wanted. I had no idea that @chr(10) was a linefeed - none of the asci code...
Robin Hampshire
robinsbase
Offline Send Email
Feb 16, 2004
7:37 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help