Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Mapping Spikes (http://www.chiefdelphi.com/forums/showthread.php?t=62362)

bizarospooky 23-01-2008 16:58

Mapping Spikes
 
Sorry if the solution to this is posted somewhere else, I couldn't find it anywhere though. Baisically I am trying to get a spike to respond to the joystick, only thing is I am getting a compiler error of Compatabible Scalar something.

The code I am using is
if (OIToRelay(1, 1, 1, 1) ==1)
{
//do this
}

What did I do wrong here? Also, tried assigning it to a variable, that didn't work either, type mismatch (couldn't figure out the type of variable it was)

Alan Anderson 23-01-2008 19:42

Re: Mapping Spikes
 
So far as I can tell, the OIToRelay() function does it all for you. It does not return a value.

bizarospooky 23-01-2008 21:00

Re: Mapping Spikes
 
heh ya, I went back and just tried OIToRelay alone it worked yayy


All times are GMT -5. The time now is 23:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi