Re: Dos or Windows
- Posted by Martin Stachon <martin.stachon at tiscali.cz> May 20, 2005
- 417 views
don cole wrote: > Is it posible to determine if a DOS or WINDOWS program sends to a function or > procedure? > > Example: > }}} <eucode> > procedure print_half(atom number) > > if (sent by DOS program) then > > ?number/2 > > elsif (sent by WINDOWS program) then > > wPuts( MyWindow, sprintf("%f",number/2)) > > end if > end procedure See platform(). Your include file will run the same platform as caller. Martin