Shop
OBEX
P1 Docs
P2 Docs
Learn
Events
SX/B Includes — Parallax Forums
toggle menu
Categories
Discussions
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Sign In
·
Register
×
Home
›
General Discussion
SX/B Includes
David Naffin
Posts:
10
2005-04-21 23:53
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
Bean
Posts:
8,129
2005-04-22 01:11
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 Naffin
Posts:
10
2005-04-22 13:02
edited 2005-04-22 13:02
Thanks Bean
Sign In
or
Register
to comment.
Comments
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