Shop OBEX P1 Docs P2 Docs Learn Events
SX/B Includes — Parallax Forums

SX/B Includes

David NaffinDavid Naffin Posts: 10
edited 2005-04-22 13:02 in General Discussion
Is the only way to include one SX/B source file in another is to use the SASM "Include" directive or does that SX/B compiler have a native Include directive that is not documented?

Comments

  • BeanBean Posts: 8,129
    edited 2005-04-22 01:11
    To include another sxb file use
    LOAD "filename.sxb"

    To include an assembly file use
    INCLUDE "filename.src"

    Note that you must include the quotes around the filename

    LOAD and INCLUDE are documented under "Reference->Directives".

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "SX-Video Display Module" Available Now.

    www.sxvm.com

    "A problem well defined, is a problem·half solved."


    Post Edited (Bean) : 4/22/2005 2:22:44 AM GMT
  • David NaffinDavid Naffin Posts: 10
    edited 2005-04-22 13:02
    Thanks Bean
Sign In or Register to comment.