Table Of Contents

is_validvarname

Version:
    Last Modified: December 16, 2016

    Determines whether a string is a valid variable name. A valid variable name begins with a letter followed by a number of letters, digits, or underscores. The length of a valid variable name must be less than or equal to maxnamelen. is_validvarname does not determine whether a variable of the name you specify exists.

    Syntax

    c = is_validvarname(a)
    Legacy name: isvarname

    Inputs

    a

    String.

    Outputs

    c

    1 if a is a valid variable name. Otherwise, is_validvarname returns 0. c is a Boolean.

    C = is_validvarname('__name')

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: DAQExpress does not support FPGA devices


    Recently Viewed Topics