Jump to content
Sign in to follow this  
mramos

Basic Command List For Boostbasic

Recommended Posts

How would I find the commands or a list and how to call them in BoostBASIC?

 

I want to do a project in Boost, I really like it..

 

 

Do I need to reference a C lib? Can I call them?

Share this post


Link to post
Share on other sites

mramos,

 

How would I find the commands or a list and how to call them in BoostBASIC?

 

I want to do a project in Boost, I really like it..

BoostC libraries are pretty thin on the ground ;)

 

Do I need to reference a C lib?  Can I call them?

You can call all the 'C' functions but there are two things you will need to do:

1) Declare a basic style function prototype for each function - this is so basic knows that such a function exists, eg:

void SysiSignalSemaphore( BYTE hSemaphore ); // C function prototype

Extern sub SysiSignalSemaphore( hSemaphore as BYTE ) ' basic function prototype

 

2) Add any required lib (other that libc which is automatically linked in) to the project.

 

Note: Currently there is a bug with the BoostBasic toolsuite that means the project will fail to build if you do this so you need to add any library as a linker option: menu Settings -> Options -> Compile Options -> Extra Linker Options

 

Regards

Dave

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...