[GB.SETTINGS]

* NEW: Settings.ToString() and Settings.FromString() are two internal methods now made public. They convert a value to its string representation, and the contray.


git-svn-id: svn://localhost/gambas/trunk@7599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-02-02 08:24:45 +00:00
parent 210a3a3744
commit 88d193a4ff
2 changed files with 10 additions and 2 deletions

View file

@ -13,6 +13,10 @@ Path
r
s
FromString
M
v
(Value)s
_new
m
@ -25,6 +29,10 @@ Save
m
ToString
M
s
(Value)v
_get
m
v

View file

@ -576,7 +576,7 @@ Static Private Sub WriteValue(vVal As Variant)
End
Static Private Sub ToString(Value As Variant) As String
Static Public Sub ToString(Value As Variant) As String
$sStr = ""
WriteValue(Value)
@ -813,7 +813,7 @@ Static Private Sub ReadValue(Optional bNotStrict As Boolean) As Variant
End
Static Private Sub FromString(Value As String) As Variant
Static Public Sub FromString(Value As String) As Variant
Dim vVal As Variant
$sStr = Value