1. Graphics Mode Programming

Hello again ,

i am currently on the graphics page topics of the "A Beginners Guide to Euphoria" from Mr. David Gay.

Or can anyone suggest a better guide for beginners to download ?

I realized that this guide was written for the MS DOS system. The DOS system is really good.

Anyway , i have here Windows XP in use.

All the topics of programming until here are comprehended.

Let me give the example of program number : 47 from the guide.

Testing the "position" function in Euphoria.

All the graphics do not work without DOS.

Can anyone give me some suggestion HOW i can run theese programs from the Guide nevertheless.

Enclosed are here the screenshots from the Euphoria Interpreter.

SHOT Programm :

include std/console.e

clear_screen()

position(3,15)

puts(1, "A Program Example To Demonstrate Text Positioning")

position(4,30)

puts(1, "Written By David Gay")

position(5,20)

puts(1, "Author, \"A Beginner's Guide To Euphoria II\"")

position(8,1)

puts(1, "Top Ten Reasons why you should purchase Euphoria:")

position(9,1)

puts(1, "==============================================")

position(11, 5)

puts(1, "Number 10: It's (thankfully) not a Microsoft product.")

position(12, 5)

puts(1, "Number 9: Because C is like tax laws: too complex to figure out.")

position(13, 5)

puts(1, "Number 8: Euphoria is more fun than this year's prime time TV season.")

position(14, 5)

puts(1, "Number 7: The money spent will go to BASIC's retirement home.")

position(15, 5)

puts(1, "Number 6: Because \"Ernest Learns Euphoria\" hits the theatres soon.")

position(16, 5)

puts(1, "Number 5: You sound very smart when you say you work with atoms.")

position(17, 5)

puts(1, "Number 4: You can write word games you already know the answers to.")

position(18, 5)

puts(1, "Number 3: You can declare things without cross border shopping.")

position(19, 5)

puts(1, "Number 2: At last! A reason to use the { and } keys on the keyboard!")

position(20, 5)

puts(1, "Number 1: It's a great product any_key()

SHOT : Interpreter

A Program Example To Demonstrate Text Positioning

Written By David Gay

Author, "A Beginner's Guide To Euphoria II"

Top Ten Reasons why you should purchase Euphoria:

Number 10: It's (thankfully) not a Microsoft product.

Number 9: Because C is like tax laws: too complex to figure out.

Number 8: Euphoria is more fun than this year's prime time TV season.

Number 7: The money spent will go to BASIC's retirement home.

Number 6: Because "Ernest Learns Euphoria" hits the theatres soon.

Number 5: You sound very smart when you say you work with atoms.

Number 4: You can write word games you already know the answers to.

Number 3: You can declare things without cross border shopping.

Number 2: At last! A reason to use the { and } keys on the keyboard!

Number 1: It's a great product Press Any Key to continue...

Thats it.

Thank you Kinz.

I have DOS Box already installed.

Have used it for GW Basic.

new topic     » topic index » view message » categorize

2. Re: Graphics Mode Programming

said...

Can anyone give me some suggestion HOW i can run theese programs from the Guide nevertheless.

Try please DosBox:

http://www.dosbox.com/

It works for me on Windows XP and Windows 7 with Euphoria 3.1.1 for DOS.

Almost all DOS EU graphics of the RDS Archive will be under your fingers smile

Regards


kinz

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

3. Re: Graphics Mode Programming

I like DOS too, and I've used it for industrial programming - since it's not multitasking OS, safe and simple.

Just wanted to add:

1) For DOS demos you need to download and use Euphoria 3.1.1, and it works very good on FreeDOS and on Windows-XP.

2) I've created a QuickBasic styled editor, QE Editor, which is more powerful then EE Editor since it was designed only for DOS, I recommend to download it from: http://rapideuphoria.com/qe2.3.9.zip

3) While using DOSBox is good, these days it's very easy to install FreeDOS 1.1 on a USB-Key, and reboot the PC from this USB-Key.
It will work even faster then a hard-disk, it doesn't crash, and it gives you the joy of working with pure DOS on any modern PC (that has BIOS!) everywhere you go. (Remember that DOS used to run on floppy disks, so USB is not such a bad idea).

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

Search



Quick Links

User menu

Not signed in.

Misc Menu