1. Full Screen output for simple calculations

Hello everybody ,

im afraid that i have mentioned my subject on "Full Sceen" from the false point of view.

I am a beginner of programming.

The isuue is simple.

The first programming steps are almost arithmetic calculations.

If i want to write a calculation program , let us assume a statistics ,

then i check it with the euphoria interpreter.

It always run in the windows CMD application.

When i make a exe from it with the shrouder it is a IL File. To open with a copy of the eubw.exe backended.

Also this app starts on another PC with the CMD in small size mode.

What must i do ?

Have i to make a simple full screen graphics in my program ?

How can i do that simple for text displays.

Can everyone give me an example code?

My first aim is : to make a simple calculation program in full screen mode.

Thats all for the first step. Code i have here included in the mail.

Thanks

Hans

HERE IS THE CODE :

include graphics.e

include get.e

include std/console.e

graphics_mode(261)

text_color(14)

position (25 , 35)

printf (1 , "Hello , World\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n")

any_key ()

I want to start THIS .... as IL File APP on another PC in Full Screen.

Thank you for the suggestion.

I have tried it.

While opening the IL its the same small window.

Anyway thanks.

I will try further.

Thanks Andreas ,

yes that works.

I only have Windows XP in use. Its simple the best.

The position of the text i have made to "position (10 , 10 ).

Next i have to learn the programming of a graphics window where the text can be positioned in any area.

But that step is only important if the calculation program in completly ready.

First i have here the euphoria book "Beginners Guide to Euphoria , with student demo programs"

HELLO AGAIN ANDY : ATTENTION

i have tried the code on Windows 8. It works also. The CMD is maximized to full screen

Hello S.D. Pringle ,

thank you very much for your suggestion code. It not works.

However , in my knowledge the word Console or CON means only : Screen.

So my statement is :

I do not start the file on another screen on the same machine !

What i indeed made is to start the file on another PC (personal computer).

By the way ...

this brings me to a new question that has arisen in my mind now.

Please feel free to read the posting : Devices names ....

Regards

Hans

new topic     » topic index » view message » categorize

2. Re: Full Screen output for simple calculations

Maybe try

graphics_mode(261) 
new topic     » goto parent     » topic index » view message » categorize

3. Re: Full Screen output for simple calculations

Hi

Windows XP was the last Version that supported a Full Screen cmd Window.
Starting with Windows Vista, the new Graphik Drivers do not support this mode anymore.

Maybe this comes near to what you want...

include std/console.e  -- just for any_key() 
puts(1," ")          -- make sure the console window is open (i use mostly euiw.exe) 
system("mode con: cols=650 lines=200")   -- some insane numbers for the mode command. In a console Window type mode /? for more help 
puts(1,"Hallo Welt\n") 
any_key() 

Andreas

new topic     » goto parent     » topic index » view message » categorize

4. Re: Full Screen output for simple calculations

I have read carefully your post and I have determined that when you say 'another PC' you actually mean something else. This is called 'another console'. A one year course on English as a Foreign language could do you wonders. This will help you compose English so most people will understand you in English. Also, it will help you read comments in code in English.

To answer your question, try using eub instead of eubw.

S D Pringle

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu