Skip to content

functions support in FastBasic #109

Closed

Description

@peterkaczorowski

Adding functions to FastBasic will make the language more structured and mature, as well as create greater clarity in the written code.

Activity

  1. pagesix1536 commented on Feb 27, 2025

    @pagesix1536

    It already has function support. They're called proceedures and defined with the PROC statement.

  2. peterkaczorowski commented on Feb 27, 2025

    @peterkaczorowski
    Author

    It already has function support. They're called proceedures and defined with the PROC statement.

    Functions in the explicit sense. BASIC originates from ALGOL, where there are two types of subprograms: procedures and functions. Procedures do not return a result, while functions return a result. It is necessary to add functions that return a result and procedures that accept parameters - more than one, not just integer types, which will be local variables.

  3. dmsc commented on Oct 20, 2026

    @dmsc
    Owner

    Fixed in #128

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions