It works fine                                                         
Thanks a lot                                                          
                                                                      
-------------------                                                   
> Pierre,                                                             
>                                                                     
> Try sending the text through the below handler before writing it out
to a                                                                  
> text file. This handler will add the Ascii character 13 after all   
RETURN                                                                
> characters (Ascii character 10).                                    
>                                                                     
> ****************                                                    
> on CR2CRLF source                                                   
>    dest = ""                                                        
>    repeat while true                                                
>      theOffset = offset(numToChar(13), source)                      
>      if NOT theOffset then exit repeat                              
>      dest = dest & source.char[1..theOffset] & numToChar(10)        
>      delete source.char[1..theOffset]                               
>    end repeat                                                       
>    dest = dest & source                                             
>    return dest                                                      
> end CR2CRLF                                                         
> ***************                                                     
>                                                                     
>                                                                     
>                                                                     
>                                                                     
>                                                                     
>                                                                     
> -----Original Message-----                                          
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On  
> Behalf Of Pierre Hebert                                             
> Sent: Tuesday, September 19, 2000 7:20 AM                           
> To: [EMAIL PROTECTED]                                            
> Subject:                                                            
>                                                                     
>                                                                     
>                                                                     
> I want to save a text in a file with FileIo                         
> It works good,                                                      
> But When i open it with notepad                                     
> it is all on the same line                                          
> I tried to replace the RETURN with AsciiTochar (10), AscciiToChar   
(13)                                                                  
> Or to read a file with only a CR                                    
> It does not work                                                    
> Somebody has a solution to have a file wich on more than one line   
> Thank you for any help                                              
>                                                                     
> sorry for my english                                                
> _____________________________                                       
> Pierre Hebert                                                       
> Developpeur MM CNED Grenoble                                        
> ______________________________                                      
>                                                                     
> [To remove yourself from this list, or to change to digest mode, go 
to                                                                    
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the    
list,                                                                 
> email [EMAIL PROTECTED]  (Problems, email                        
[EMAIL PROTECTED])                                             
> Lingo-L is for learning and helping with programming Lingo.         
Thanks!]                                                              
>                                                                     
> [To remove yourself from this list, or to change to digest mode, go 
to                                                                    
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the    
list,                                                                 
> email [EMAIL PROTECTED]  (Problems, email                        
[EMAIL PROTECTED])                                             
> Lingo-L is for learning and helping with programming Lingo.         
Thanks!]                                                              
>                                                                     
>                                                                     
>                                                                     
_____________________________                                         
Pierre                                                                
Hebert                                                                
53,                                                                   
rue                                                                   
des                                                                   
Aiguinards                                                            
38240                                                                 
Meylan                                                                
Tel                                                                   
04.76.41.81.50.                                                       
______________________________                                        

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to