[SDL] intermixing c code and sdl
John Silicon
jsilicon at earthlink.net
Wed Jun 1 12:54:18 PDT 2005
Are you looking for help with the Telelogic TAU/SDL Suite for SDL the
_Language_? [http://www.telelogic.com/products/tau/languages/sdl.cfm]
(this line of thinking is based solely on the confusion of exactly what
your question is, and the references to .sbk and .ssy extensions, and my
use of Google). If so, you should look for other mailing lists, as this
list is for SDL the Library (Simple Direct media Layer).
Also, while you mentioned the C language, and properly created a
variable 'int a', you're using Pascal/Delphi-like assign expressions
with a colon-equals (' := ') while C uses only a lone equal sign (' =
'), and this might be your problem.
APR Trainees wrote:
> hi friends,
>
> i'm new to sdl.Been trying to learn it for the past 1 week.
> However i don't need to gte into its details but have to simulate just
> 1 algorithm.
>
> I needed to use 5-6 variables at a global level i.e. the system level
> so that all the blocks and their processes could use/modify them.
>
> Since i was not able to use
> DCL
> a integer;
>
> type statements for declaring at the system or block level (.sbk and .ssy)
> i instead opted for c code.
> used
> /*#Code
> #Type
> int a;
> */
>
> its working after i included ctypes.
> the analysis hasn't failed but the amke has failed.
>
> I think that i've used c and sdl variable sin the same sttaement and
> that could b a problem:
> Let a=sdl variable and b=C variable
>
> i had to do :
> a:=b;
>
> this didnt work and analysis failed.so i used
> /*#code
> a:=b;
> */
> This passed the analysis but make failed.,........
>
> i think this statement is causing a problem.So pls suggest how to use
> c and sdl variables together.
>
> Thanx
>
>------------------------------------------------------------------------
>
>_______________________________________________
>SDL mailing list
>SDL at libsdl.org
>http://www.libsdl.org/mailman/listinfo/sdl
>
>
More information about the SDL
mailing list