Skip to content

$OPCODE added command requires opcode number to use #403

Open

Description

@MiranDMC
{$OPCODE 6000=1,new_command %1d%}

6000: 42 // ok
new_command 42 // does not compile

Activity

  1. x87 commented on Nov 20, 2026

    @x87
    Collaborator

    This is by design. Sanny never parses INI definitions for command names, it uses SBL JSON for that.

  2. MiranDMC commented on Nov 20, 2026

    @MiranDMC
    Author

    From user perspective it does not matter. Added new command, does not behave as other commands.
    I had to wrap it into function to make usable. Wrappers does not work well for var args.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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