Re: Help with a little C
- Posted by Grape Vine <chat_town at HOTMAIL.COM> Feb 12, 1999
- 444 views
I see....how do i do this in euphoria? I understand what this operator does but HOW it does it....like C = A (boolean operator of some kind) B...i dont see how this is happening in C....(i dont wish to learn C to program in it..just enough to port from it to E) >Date: Fri, 12 Feb 1999 13:46:00 -0600 >Reply-To: Euphoria Programming for MS-DOS <EUPHORIA at LISTSERV.MUOHIO.EDU> >From: "Boehme, Gabriel" <gboehme at MUSICLAND.COM> >Subject: Re: Help with a little C >To: EUPHORIA at LISTSERV.MUOHIO.EDU > >Grape Vine <chat_town at HOTMAIL.COM> wrote: > >> I need a little help with just what this line of code does >> >> boolean G_CheckDemoStatus (void); >> >> i know what boolean means in math but what does it do here??? >> >> Grape Vine > >"boolean", as it appears here in C, defines the data type for the value >returned from the function. We don't have to do this in Euphoria, so that's >probably why it threw you. > >If I recall my C class correctly, this is how C knows the format of the data >it's passing back from the function. Either that, or it helps the compiler >convert data from one type to another if the receiving variable is a >different type (or class, or whatever). As this is all from memory, I may be >somewhat wrong. But I think that's the gist of it. > >Hope this helps, > >Gabriel Boehme > ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com