|
Web+ Tutorial
|
Lesson 5.5 - Reading from and writing to text files
- Description
- These statements read from or write to files opened with the
<webFileOpen> statement.
- Syntax
<webFileGetChar FILE=AliasFileName RESULT=#ResultString# <webFileGetLine FILE=AliasFileName RESULT=#ResultString# <webFilePutChar FILE=AliasFileName VALUE=#ValueString# <webFilePutLine FILE=AliasFileName VALUE=#ValueString#
- Agument
- /tutorial/argument/arg25.wml
- Example
<webFileGetChar FILE="TempFile" RESULT=#OutputChar# <webFileGetLine FILE="TempFile" RESULT=#OutputString# <webFilePutChar FILE="TempFile" VALUE=#InputChar# <webFilePutLine FILE="TempFile" VALUE=#InputString#
- Exercise
- This example is for your reference. You can try it on your own system.
You can try out some Web+ code of your own here.
|
|