Modifications

Sauter à la navigation Sauter à la recherche
117 octets ajoutés ,  7 mars 2022 à 00:30
Ligne 28 : Ligne 28 :  
* IF the file doesn't exists yet THEN it will be automatically created.  
 
* IF the file doesn't exists yet THEN it will be automatically created.  
 
* Use the ''''w'''' parameter (instead of 'a') to overwrite the file content.
 
* Use the ''''w'''' parameter (instead of 'a') to overwrite the file content.
 +
* As the {{fname|write()}} just writes bytes then the the carriage return and line feed (\r\n) must also be written.
    
The following screen capture do show the 'file.txt' on the pico file system (do not hesitate to refresh the file list) and the file content is displayed on the file pane.
 
The following screen capture do show the 'file.txt' on the pico file system (do not hesitate to refresh the file list) and the file content is displayed on the file pane.
29 917

modifications

Menu de navigation