Skip to content

Support for value type CHARACTER 🔡 #158

Open

Description

@MatiDragon-YT

Could you include a function so that Sanny Builder can convert a character to an ASCII number?

char 1@ = "A"         ->   0006: 1@ = 65   // or 0x41
char $2 = "4"         ->   0004: $2 = 52   // or 0x34
char 3@ = "\s"        ->   0006: 3@ = 32   // or 0x20
char $4 = "\n"        ->   0004: $4 = 10   // or 0x0A
5@c = "9"             ->   0006: 5@ = 57   // or 0x39
c$6 = "F"             ->   0004: $6 = 70   // or 0x46

Activity

  1. added this to the Language Specification milestone on Jul 6, 2021
  2. changed the title [-]NEW FEATURE: Support CHAR value types[/-] [+]Support for value type CHARACTER 🔡[/+] on Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions