Share via


ForNextCheckR4 Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Checks for valid values for the loop counter, Step, and To values.

Namespace:  Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

Syntax

'Declaration
Public Shared Function ForNextCheckR4 ( _
    count As Single, _
    limit As Single, _
    StepValue As Single _
) As Boolean
public static bool ForNextCheckR4(
    float count,
    float limit,
    float StepValue
)
public:
static bool ForNextCheckR4(
    float count, 
    float limit, 
    float StepValue
)
static member ForNextCheckR4 : 
        count:float32 * 
        limit:float32 * 
        StepValue:float32 -> bool 
public static function ForNextCheckR4(
    count : float, 
    limit : float, 
    StepValue : float
) : boolean

Parameters

  • count
    Type: System. . :: . .Single
    Required. A Single value that represents the initial value passed for the loop counter variable.
  • limit
    Type: System. . :: . .Single
    Required. A Single value that represents the value passed by using the To keyword.
  • StepValue
    Type: System. . :: . .Single
    Required. A Single value that represents the value passed by using the Step keyword.

Return Value

Type: System. . :: . .Boolean
True if StepValue is greater than zero and count is less than or equal to limit, or if StepValue is less than or equal to zero and count is greater than or equal to limit; otherwise, False.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

.NET Framework Security

See Also

Reference

ObjectFlowControl. . :: . .ForLoopControl Class

Microsoft.VisualBasic.CompilerServices Namespace