Maintain a standard plist file in your REALbasic app.
Overview
The plist class for REALbasic allows you to easily maintain an Apple-standard plist preferences file in your REALbasic application. With a wealth of methods to aid you, you can easily maintain plist files from the simple to the complex. The preferences are kept in memory. Therefore, when your application quits, just call the Save method and the preferences will be saved - it's that easy!
What's new in plist Class for REALBasic
Version 2.11.1:
[bug] Empty strings no longer return carriage returns.
Join over 500,000 subscribers.
Subscribe for our newsletter with best Mac offers from MacUpdate.
Excellent class that makes it easy to create proper preference files and store the values. It even handles arrays without a problem.
However there is a bug in SetDouble and SetReal due to the way how strings store and display LARGE numbers
If the number is 123456789 then
values.value(key)=str(v)
will store 1.23456e9
When you read it back it becomes 123456000
The line should be
values.value(key)=Format(v, "#########")
then it is saved properly
Excellent class that makes it easy to create proper preference files and store the values. It even handles arrays without a problem.
However there is a bug in SetDouble and SetReal due to the way how strings store and display LARGE numbers
If the number is 123456789 then
values.value(key)=str(v)
will store 1.23456e9
When you read it back it becomes 123456000
The line should be
values.value(key)=Format(v, "#########")
then it is saved properly
1 plist Class for REALBasic Reviews
Rate this app:
Most helpful