Skip to content

Basic comparisons fail #200

Description

@peteowsm-create

This one is so "basic", that I'm amazed that I can find no mention of it.
Enter the following code ...

Score="a"
if (Score<"0") or (Score>"7") then
GraphicsWindow.Showmessage("Bad Input - must be from 0 to 7","")
else
GraphicsWindow.Showmessage("Good Input ","")
endif
program.end

Yes - I know I can get around it by converting variables to their
unicode values, but hey! why should we have to code around bugs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions