Author Topic: TrIDLib: another sample code for PureBasic  (Read 9663 times)

Gansta93

  • Newbie
  • *
  • Posts: 2
TrIDLib: another sample code for PureBasic
« on: September 09, 2010, 06:58:25 PM »
Hello,

I have made another sample code to show how to use TrIDLib with PureBasic, using prototypes.
I've made it because using prototypes is faster and it provides a better control of passed parameters, and because calling a function with its memory address is faster than using CallFunction.
Moreover, using prototypes allows to use every types of parameters (using CallFunction doesn't allow to use string, float, double or quad). Prototype allows using of string, float, double or quad, for parameters as for return value.

Here is a link to download it:
http://dl.dropbox.com/u/1185217/DemoTrIDLibPureBasic.zip

I hop this sample code will help. :)

Mark0

  • Administrator
  • Hero Member
  • *****
  • Posts: 2743
    • Mark0's Home Page
Re: TrIDLib: another sample code for PureBasic
« Reply #1 on: September 09, 2010, 07:21:12 PM »
Thanks!
Will update the samples package at the first occasion.