JMDash Docs
HomeLearn JM-Libraries & FunctionsCode examplesJM- Repo
  • Welcome to JM- Docs!
  • Quick introduction
    • What's JM-?
    • JMCompiler
      • How to compile with JMC
  • JM-'s Basics
    • Syntax 101
      • Calling functions
        • Built-in Functions
        • Other libraries
          • File: Read and Write
          • JMDash Math
          • JMDash Time
          • Standard System Input and Output
          • JMDash Argument Handler
          • JMDash Random
        • Custom libraries
      • Data types
      • Conditional statements
      • Conditional loop statements
      • Mathematics' logical conditions
      • Escape/Special characters
      • Variable Modification
      • Error Handling
      • Argument Handling
    • Appendables
    • Directives
  • Design Documents
    • Initial Design Document
    • Initial Design of Libraries Document
    • Initial Design of Error Handling Document
      • The Error Tree
        • Syntax Errors
        • FSErrors
        • MathErrors
        • TimeErrors
        • StdSysError
    • The, Post IDD
    • The, PIDD's First Revision
    • The, PIDD's Second Revision
  • Examples
    • Code examples
      • Hello World in JM-
      • Including libraries in JM-
      • Simple calculator in JM-
      • Argument-based calculator in JM-
Powered by GitBook
On this page

Was this helpful?

  1. Examples
  2. Code examples

Including libraries in JM-

Here's a simple program made in JM- showcasing how to include libraries.

// Including a single library
#incd .libraryName

// Including multiple libraries
#incd .libraryName && .otherLibraryName
PreviousHello World in JM-NextSimple calculator in JM-

Last updated 7 months ago

Was this helpful?