Re: Dos or Windows

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

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu