String ls_filename//filename
The integer ll_filetype//handle to open the file
Ls_filename='D: \ 2', '11110001' and 'XML'
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace!
FileWrite (ll_filetype, '& lt; ? The XML version="1.0" encoding="utf-8"?> ')
FileWrite (ll_filetype, '& lt; Dd> Why did ')//dd into Chinese not
?FileWrite (ll_filetype, '& lt; Events> ')
FileWrite (ll_filetype, '& lt; Aaa/& gt; ')
FileWrite (ll_filetype, '& lt; BBB/& gt; ')
FileWrite (ll_filetype, '& lt;/Events> ')
FileWrite (ll_filetype, '& lt;/dd> ')
Fileclose (ll_filetype)
CodePudding user response:
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace!Modified to
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace! , EncodingUTF8!)
CodePudding user response:
Modified toLl_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace! , EncodingUTF8!)
Pb9 errors: c0060: ILLEGAL ENUMERATED CONSTANT: EncodingUTF8! What's the matter
CodePudding user response:
Pb9 does not support theAfter the upgrade to the pb10.
CodePudding user response:
String ls_filename//filenameThe integer ll_filetype//handle to open the file
String triple
Aaa='Header'
Ls_filename='D: \ 2', '11110001' and 'XML'
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace! , EncodingUTF8!)
FileWrite (ll_filetype, '& lt; ? The XML version="1.0" encoding="utf-8"?> ')
FileWrite (ll_filetype, '& lt; Book circulation information & gt; ')//
FileWrite (ll_filetype, '& lt; Transfer title & gt; ')
FileWrite (ll_filetype, '/' + aaa + '& lt; Data identification/& gt; ') this line can not output the following format?
FileWrite (ll_filetype, '& lt;/transferring title & gt; ')
FileWrite (ll_filetype, '& lt;/book circulation information & gt; ')
Fileclose (ll_filetype)
How do I get one line of output that the following line:
<? The XML version="1.0" encoding="utf-8"?>
-
String ls_filename//filename
The integer ll_filetype//handle to open the file
String triple
Aaa='Header'
Ls_filename='D: \ 2', '11110001' and 'XML'
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace! , EncodingUTF8!)
FileWrite (ll_filetype, '& lt; ? The XML version="1.0" encoding="utf-8"?> ')
FileWrite (ll_filetype, '& lt; Book circulation information & gt; ')//
FileWrite (ll_filetype, '& lt; Transfer title & gt; ')
FileWrite (ll_filetype, '& lt; Data identification & gt; '+ aaa + & lt; Data identification/& gt; ') this line can not output the following format?
FileWrite (ll_filetype, '& lt;/transferring title & gt; ')
FileWrite (ll_filetype, '& lt;/book circulation information & gt; ')
Fileclose (ll_filetype)
CodePudding user response:
String ls_filename//filenameThe integer ll_filetype//handle to open the file
String aaa, BBB
Aaa='Header'
Ls_filename='D: \ 2', '11110001' and 'XML'
Ll_filetype=FileOpen (ls_filename LineMode! The Write! , LockWrite! The Replace! , EncodingUTF8!)
FileWrite (ll_filetype, '& lt; ? The XML version="1.0" encoding="utf-8"?> ')
FileWrite (ll_filetype, '& lt; Book circulation information & gt; ')//
FileWrite (ll_filetype, '& lt; Transfer title & gt; ')
FileWrite (ll_filetype, '& lt; Data identification & gt; '+ aaa + & lt;/data identification & gt; ')
FileWrite (ll_filetype, '& lt; File transfer ID/& gt; ')
FileWrite (ll_filetype, '& lt; Transfer logo & gt; "+" for the first time "+ & lt; Transfer/logo & gt; ')
FileWrite (ll_filetype, '& lt; Data transfer party/& gt; ')
FileWrite (ll_filetype, '& lt;/transferring title & gt; ')
FileWrite (ll_filetype, '& lt;/book circulation information & gt; ')
Fileclose (ll_filetype)
Thank you, write out,
CodePudding user response:
Good examples of collections