Skip to content

Commit 17ca110

Browse files
committed
Update FTValueClass.f90
Just change the comments to reflect that stringValueA and stringValueR are overloaded as stringValue() and that the latter is deprecated but will still work with stringValue(requestedLength)
1 parent 3a8d5c6 commit 17ca110

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Source/FTObjects/FTValueClass.f90

+6-2
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,7 @@ END FUNCTION logicalValue
624624
!---------------------------------------------------------------------------
625625
!> Get the string value stored in the object, or convert the value
626626
!> in the object to a string of that length if it is of a different type.
627+
!> It is overloaded as stringValue().
627628
!---------------------------------------------------------------------------
628629
!
629630
!////////////////////////////////////////////////////////////////////////
@@ -669,8 +670,11 @@ END FUNCTION stringValueA
669670
!
670671
!---------------------------------------------------------------------------
671672
!> Get the string value of length requestedLength stored in the object, or
672-
!> convert the value
673-
!> in the object to a string of that length if it is of a different type.
673+
!> convert the value in the object to a string of that length if it is of a
674+
!> different type. This version is deprecated in favor of the stringValueA
675+
!> function that uses allocated strings. This version is included only so
676+
!> that other code that uses this library doesn't break. It is overloaded
677+
!> as stringValue(requestedLength).
674678
!---------------------------------------------------------------------------
675679
!
676680
!////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)