unexpected %sysfunc() behavior in WPS

Comments

1 comment

  • Geoff Mole

    The cats datastep function can take a character or numeric argument. In this example NOT is a SAS language keyword that is expecting an argument to negate such as (NOT &test). Since no argument is provided the missing argument is treated as 0 and so 1 is returned.

    The strip function only takes a character as argument and therefore NOT is treated as the string NOT and returns NOT.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.