Re: more lobbying

new topic     » goto parent     » topic index » view thread      » older message » newer message

mic wrote:

> * Make callback() available in DOS
> (seems to be an easy task).

This might be nice, but what system are you proposing to base it on? The
most popular one that I've seen isn't even in development any more.


> * Make it possible to pass floats
> to C functions (type-casting, eh?).

That can't be done? <mildly shocked expression>


> * Some sort of definition command would
> be useful.

I was under the mistaken impression that simply including a routine not
available on a platform (like open_dll on Dos32) would cause an error.
However, since you only get an error when you _call_ the routine, writing
something like this:

   procedure my_func()
      if platform() = DOS32 then
         -- dos specific stuff
      elsif platform() = WIN32 then
         -- windows specific stuff
      elsif platform() = LINUX then
         -- linux specific stuff
      else
         -- error
      end if
   end procedure

So there's less of a need for it than you might thing.

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu