1. Basic and EX.Exe

I just got my disk,s from RDS and I wanted to know what is the diffrence
between
the Complete ex.exe and the pdex.exe?
I also am having a hard time getting use to EUPHORIA,all I know is C64
BASIC
C=Commodore ,bye the way .I have downloaded david gay,s program on EUPHORIA
and it help,s but still have trouble with it.Any sugestions on how to get
over this?
David "lost" Mosley

new topic     » topic index » view message » categorize

2. Basic and EX.Exe

*** Reply to note of 02/04/97 11:03
Euphoria is much more akin to C than to BASIC. since QBASIC is my language
of choice (old habits die hard), the following might be helpful:

1. use the euphoria editor. as a BASIC programmer, you'll forget to put a
   "do" and the end of your "for", and use "next" instead of "end for".
  sure, auto-completion can be a pain, but it's a good learning tool.

2. have the "library.doc" file open at all times, so you can search on it.
   an easy way is to have two DOS sessions open, and have the library file
   in the editor of your choice.

3. be sure you understand the difference between append() and &. i still get
   the two confused, and having coded in Prolog, I should know better...

4. unlike BASIC, the order you delare your subs is important.

5. use the trace facility. it's great, and gives you a good feel for how
   Euphoria works.

6. having to declare variables was my biggest barrier in making the transition
   to Euphoria. i can't offer a good way around this, other than to say "get
   used to it" and stick the line:

      object tmp1, tmp2, tmp3

   in the beginning of all all your routines if you really need a crutch to
   fall back on...

is anything in particular an issue?

-- david cuny

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

3. Re: Basic and EX.Exe

> I just got my disk,s from RDS and I wanted to know what is the diffrence
> between
> the Complete ex.exe and the pdex.exe?

The Complete Edition's ex.exe is the registered version of the interpretor,
while pdex.exe is the Public domain version of the interpretor. When you
run your bind command to make a standalone executable, the pdex program
will be used.

> I also am having a hard time getting use to EUPHORIA,all I know is C64
> BASIC

Read the file WHAT2DO.DOC in the DOC directory. It will give you steps on
how to write your own Euphoria program. :)

>bye the way .I have downloaded david gay,s program on EUPHORIA
> and it help,s but still have trouble with it.Any sugestions on how to get
> over this?

Well, if you can tell me what the trouble is, I'll be glad to answer any
questions about the tutorial :)

> David "lost" Mosley

David "Never Lost, Just Misplaced" Gay

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

4. Re: Basic and EX.Exe

A
>and it help,s but still have trouble with it.Any sugestions on how to get
>over this?
>David "lost" Mosley
>
Pick a project of interest to you and tear into it!!!:)
Arthur P. Adamson, The Engine Man, euclid at mail.horandata.net

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

5. Re: Basic and EX.Exe

On Wed, 5 Feb 1997, Arthur Adamson wrote:
> >and it help,s but still have trouble with it.Any sugestions on how to get
> >over this?
> >David "lost" Mosley
> >
> Pick a project of interest to you and tear into it!!!:)
> Arthur P. Adamson, The Engine Man, euclid at mail.horandata.net
>
yeah, something simple like a simultaneous-event driven 2 player game like
OidZone!  Worked for me...

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp
A Crash Course in Game Design and Production
http://exo.com/~lgp/euphoria

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

6. Re: Basic and EX.Exe

*** Reply to note of 02/04/97 22:04
oh yes -- there is one other feature that took a LONG time to get used to,
so i wrote another crutch: the compare() statement. i'd write:

   if a = b then ...

and the program would bomb because i was using sequences. so i'd write:

  if compare( a, b ) then

and the program would not work, because compare returns a zero. finally, i
wrote a function eq():

   function eq( object o1, object o2 )
      return not compare( o1, o2 )
   end function

and i could then write:

   if eq( a, b ) then ...

it certainly helped me while i was transitioning over from BASIC.

-- david cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu