Sent: Wednesday, February 26, 2003 12:35 PM
To: CF-Talk
Subject: RE: CFFILE and carriage returns
Mac OS9 and less uses #chr(13)#
Mac OSX, Unix and Linux use #chr(10)#
Windows uses #chr(13)##chr(10)#
Using the windows line ending will absolutely cover all the bases, but
I've
yet to run into
.
barneyb
> -Original Message-
> From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 26, 2003 9:24 AM
> To: CF-Talk
> Subject: RE: CFFILE and carriage returns
>
>
> I always use 'Chr(13) & Chr(10)' (believing that covers me for
[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, February 26, 2003 9:11 AM
Subject: RE: CFFILE and carriage returns
> Create a carriage-return line-feed pair
>
>
> and append it to the string wherever you want a new line to start
>
>
> HT
no, I think you are right.
w
-Original Message-
From: David Collie (itndac) [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:24
To: CF-Talk
Subject: RE: CFFILE and carriage returns
I always use 'Chr(13) & Chr(10)' (believing that covers me for Mac and
Windows) is tha
Create a carriage-return line-feed pair
and append it to the string wherever you want a new line to start
HTH
DavidB
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 2003 12:01 PM
To: CF-Talk
Subject: CFFILE and carriage returns
I am
I always use 'Chr(13) & Chr(10)' (believing that covers me for Mac and Windows) is
that correct? If not what should you use?
-Original Message-
From: Will Swain [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:11
To: CF-Talk
Subject: RE: CFFILE and carriage returns
Use: #chr(10)##chr(13)# anywhere you want a carriage return.
Ie: Start Date: #startDate##chr(10)##chr(13)# End Date:
#endDate##chr(10)##chr(13)# WorkshopID: #workshopID##chr(10)##chr(13)#
...
Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL P
You could:
Then insert #crlf# wherever you need the carriage return/linefeed.
Or, you can just set the variable with the crlf in it:
Lastly, you could use CFSAVECONTENT..
HTH
-Ryan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 26, 20
Use #chr(10)# in your variable where you want line breaks. Or, you can just
create the file content using CFSAVECONTENT, which is probably easier if
there isn't a lot of complex logic, and you're using CF5+.
barneyb
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
use chr(13) in orderInfo for a new line.
w
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 26 February 2003 17:01
To: CF-Talk
Subject: CFFILE and carriage returns
I am trying to write files using and I would like to have carriage
returns in the file to make i
10 matches
Mail list logo