Skip to content

If X at 0 is "a" behaves differently from Satriani #36

Description

@hugobuddel

The following program behaves differently in Rocky and in Satriani:

X is "abc"
Shatter X

If X at 0 is "a"
Say "True"
Else
Say "False"

Rocky gives True and Satriani gives False.

Switching the order (If "a" is X at 0) does result in True in both interpreters. (However, in my code I have at keywords at both sides of the equality.) I'll simply put the X at 0 in a variable first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions