Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths19%, 11%, 13%, 57%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Scroll tablelayout
sortDirectionASC
repeatTableHeadersdefaultstyle
widths10%, 15%, 14%, 13%, 48%
style
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

...

Returns true if the value was successfully written, otherwise false.

Examples

Code Block
languagetext
// Store some information in the profile

...


string $value;

...


// Write to Section 1

...


writeProfileString "Section1" "Value1" "Hello";

...


writeProfileString "Section1" "Value2" "World";

...


// Write to Section 2

...


writeProfileString "Section2" "Value1" "Scripting";

...


writeProfileString "Section2" "Value2" "is cool";

...



/* Will produce output like this 

...


[Section1]

...


Value1=Hello

...


Value2=World
  

...


[Section2]

...


Value1=Scripting

...


Value2=is cool

...


*/

...



// Now retrieve it 

...

$value = `getProfileString "Section1" "Value1" ""`;

...


print $value;

Additional information

Related commands

...