forum-msg-id-125474-edit

Original date:2014-11-21 10:08:01 Edited by: han45 Subject: 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

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu