|
Web+ Tutorial
|
Lesson 5.6 - Accessing profile parameter values in *.INI files
- Description
- Reads from and writes to a text file, usually an INI file with key(paramater) names and their values.
- Syntax
<webGetProfile SECTION=SectionName KEY=KeyName RESULT=#ResultString# [SIZE=BufferSize] FILE=FileName PASSWORD=ReadPassword> <webPutProfile SECTION=SectionName KEY=KeyName VALUE=#ValueString# FILE=FileName PASSWORD=WritePassword>
- Agument
- /tutorial/argument/arg26.wml
- Example
<webFileGetProfile SECTION="Message" Key="Msg1" RESULT=#OutputString# FILE=".\tmp.txt" PASSWORD="Pass"> <webFilePutProfile SECTION="Message" Key="Msg2" VALUE=#InputString# FILE=".\tmp.txt" PASSWORD="Admin">
- 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.
|
|