external library @ symbol

BlitzMax Forums/BlitzMax Programming/external library @ symbol

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all,

Im trying to import functions from the BASSmod sound system using the static library, bassmod.lib. As just a test I have defined :-

<CODE>
Import "bassmod.lib"

Extern
Function BASSMOD_GetVersion:Short( ) = "BASSMOD_GetVersion@0"
End Extern

DebugLog BASSMOD_GetVersion( )
</CODE>

Now... This returns 2 and im quite content to belive that this is correct. So my question is what does the @ symbol is needed for? I had a look at the FMod topic and thats where I got it from.

Im sure that I could have found this out in the documents but I was also quite keen to make my first post here.

Also are there any guides on how to format posts in the forums? I dont have a clue how to get thoes code boxes.

Thanks