1. Array's in Euphoria

Hi guys
Ok still can't get it to do what I want,so here it is aiagin
What I want to do is take a data file and trun that into an Euphoria array.
I have tried append,&, and nothing is doing it.This does not make sence I
can program in Liberty Basic,Commodre Basic,GW Basic,but I can not get this
Euphoria at all.I have been trying for 2 years I have gone through David's
ABGTA 2 times I can print to screen or disk,I can open a file,do other
little things,I have tried looking at other programs and I get so lost,I can
use an eclude file if I have to,but I know that there is an answer as you
know being a programer I don't give up very easyly,I have a program almost
done in Liberty but I do like the speed in Euphoria,and this is to Robert I
am sorry for asking about programing in windows a few years back,WHAT A
!!!.
Liberty is easyer in that respect because they have a program that writes
the code to do windows. and to you Christian programers out there praise
god.
ok I done .
In Christ
David Mosley

new topic     » topic index » view message » categorize

2. Re: Array's in Euphoria

At 07:00 AM 4/25/98 -0600, David Mosley wrote:

>Hi guys
>Ok still can't get it to do what I want,so here it is aiagin
>What I want to do is take a data file and trun that into an Euphoria array.
>I have tried append,&, and nothing is doing it.This does not make sence I
>can program in Liberty Basic,Commodre Basic,GW Basic,but I can not get this
>Euphoria at all.I have been trying for 2 years...

David:

This should be just about the easiest possible thing to do.
If you are still running into a blank wall, why not send a
sample data file, along with a description of what you
want to do with the data once you get it into Euphoria,
and I'll be happy to give some help.

Irv Mullins

Spam Haiku:-------------------
Silent, former pig
One communal awareness
Myriad pink bricks
-------------------------------------

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

3. Re: Array's in Euphoria

David Mosley wrote:
>
> Hi guys
> Ok still can't get it to do what I want,so here it is aiagin
> What I want to do is take a data file and trun that into an Euphoria array.
> I have tried append,&, and nothing is doing it.This does not make sence I
> can program in Liberty Basic,Commodre Basic,GW Basic,but I can not get this
> Euphoria at all.I have been trying for 2 years I have gone through David's
> ABGTA 2 times I can print to screen or disk,I can open a file,do other
> little things,I have tried looking at other programs and I get so lost,I can
> use an eclude file if I have to,but I know that there is an answer as you
> know being a programer I don't give up very easyly,I have a program almost
> done in Liberty but I do like the speed in Euphoria,and this is to Robert I
> am sorry for asking about programing in windows a few years back,WHAT A
> HEADACHE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> !!!.
> Liberty is easyer in that respect because they have a program that writes
> the code to do windows. and to you Christian programers out there praise
> god.
> ok I done .
> In Christ
> David Mosley



        This is exactly the samething I was  having problems with when
wrote those two dim functions . what does the data file look like (is it
a raw binary or ascii or best yet was it output by a euphoria program
(using print) and how do you want the array to be setup.
        I too have used pet basic(on the C=64,alot), so maybe thats
where the mental problem with euphorian sequence structuring comes
 frome????
        Me I just preconfigure the sequencess then load them from the
from the data file (which I created manually with a small prog using
print staments with hard-coded values, which makes reading them
easy with the get() )

                Kasey

p.s. could you tell me about liberty  basic? (in e-mail,wouldn't wanna
be rude in a euphoria list)

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

4. Re: Array's in Euphoria

>Hi guys
>Ok still can't get it to do what I want,so here it is aiagin
>What I want to do is take a data file and trun that into an Euphoria array.

    Well, there are several ways, but if you want to maintain the structure
your sequence with the data, using EDOM could make your life a lot easier:

    -- Example code begins:

        include edom.e

        sequence my_seq
        my_seq = {"BlaBlaBla", 4, 5, {{ 344345.2343, 'f' },"" } }

        if edo_save ("myfile.edo", myseq, CP_NONE)        -- (No
compression)
            puts(1,"Unable to store data in myfile.edo")
            abort(1)
        end if

    -- You can load it back up at any time:

        sequence my_seq2

        my_seq2 = edo_load ("myfile.edo", CP_NONE)

    -- Now my_seq2 contains the same data as my_seq did

    EDOM saves a sequence to disk at a pretty efficient way, and you can
load it back just as easily.
    It is also *lots* of faster than using print () and get ()
    Well, print () goes faster dan edo_save (), but get () goes 100 times or
so slower than edo_load (), prolly because get () is an Euphoria include
file, and thus not a built-in optimized piece of code.

>I have tried append,&, and nothing is doing it.This does not make sence I
>can program in Liberty Basic,Commodre Basic,GW Basic,but I can not get this
>Euphoria at all.I have been trying for 2 years I have gone through David's
>ABGTA 2 times I can print to screen or disk,I can open a file,do other
>little things,I have tried looking at other programs and I get so lost,I
can
>use an eclude file if I have to,but I know that there is an answer as you
>know being a programer I don't give up very easyly,I have a program almost
>done in Liberty but I do like the speed in Euphoria,and this is to Robert I

    If you like the speed, and prefer basic, go get yourself PowerBasic, it
compiles basic to extremely fast machine code. (beats Turbo C in
optimization..)

>am sorry for asking about programing in windows a few years back,WHAT A
!
>!!!.
>Liberty is easyer in that respect because they have a program that writes
>the code to do windows. and to you Christian programers out there praise
>god.
>ok I done .
>In Christ

    I do not have anything against people expressing their beliefs, nor do I
want to start a flame war, but..
    Why is every1 expressing their beliefs ? Do they want to be appriciated
or more positivily judged by other because of their beliefs ?
    No offence, but I keep wondering, why tell the world 'that you're also a
member of that club' unless you think that people might have more respect
for you, which shouldn't be a good thing IMHO.

Ralf Nieuwenhuijsen
nieuwen at xs4all.nl

PS Warning: The edom version at RDS' site contains a couple of bugs, it
might be better if Robert removed the link for now. As soon as I get my self
some floppy disk, I can copy the 'bug-free' version from my old computer
(don't have any disk, this is the CDROM-age I guess)

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

5. Re: Array's in Euphoria

Ralf wrote:

>    I do not have anything against people expressing their
>beliefs, nor do I want to start a flame war, but..     Why is
>every1 expressing their beliefs ? Do they want to be appriciated
>or more positivily judged by other because of their beliefs ?   =

> No offence, but I keep wondering, why tell the world 'that
>you're also a member of that club' unless you think that people
>might have more respect for you, which shouldn't be a good thing
>IMHO.

>Ralf Nieuwenhuijsen nieuwen at xs4all.nl

Probably the first time I agree 100% with you. Couldn't have said it bett=
er
myself. This should end all discussions!

Ad

P.S. Ralf, I'll send some floppies next week to Alphen!

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

6. Re: Array's in Euphoria

-----Original Message-----
From: Kasey <kaeyb at GEOCITIES.COM>
To: Multiple recipients of list EUPHORIA <EUPHORIA at MIAMIU.ACS.MUOHIO.EDU>
Date: Saturday, April 25, 1998 11:53 AM
Subject: Re: Array's in Euphoria


>David Mosley wrote:
>>
>> Hi guys
>> Ok still can't get it to do what I want,so here it is aiagin
>> What I want to do is take a data file and trun that into an Euphoria
array.
>> I have tried append,&, and nothing is doing it.This does not make sence I
>> can program in Liberty Basic,Commodre Basic,GW Basic,but I can not get
this
>> Euphoria at all.I have been trying for 2 years I have gone through
David's
>> ABGTA 2 times I can print to screen or disk,I can open a file,do other
>> little things,I have tried looking at other programs and I get so lost,I
can
>> use an eclude file if I have to,but I know that there is an answer as you
>> know being a programer I don't give up very easyly,I have a program
almost
>> done in Liberty but I do like the speed in Euphoria,and this is to Robert
I
>> am sorry for asking about programing in windows a few years back,WHAT A
>>
>> !!!.
>> Liberty is easyer in that respect because they have a program that writes
>> the code to do windows. and to you Christian programers out there praise
>> god.
>> ok I done .
>> In Christ
>> David Mosley
>
>
>
>        This is exactly the samething I was  having problems with when
>wrote those two dim functions . what does the data file look like (is it
>a raw binary or ascii or best yet was it output by a euphoria program
>(using print) and how do you want the array to be setup.
>        I too have used pet basic(on the C=64,alot), so maybe thats
>where the mental problem with euphorian sequence structuring comes
> frome????
>        Me I just preconfigure the sequencess then load them from the
>from the data file (which I created manually with a small prog using
>print staments with hard-coded values, which makes reading them
>easy with the get() )
>
>                Kasey
>
>p.s. could you tell me about liberty  basic? (in e-mail,wouldn't wanna
>be rude in a euphoria list)

http://world.std.com/~carlg/basic.html
In Christ
David Mosley
mosley01 at geocities.com
or
david08 at juno.com

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

7. Re: Array's in Euphoria

> >In Christ
>
>     I do not have anything against people expressing their beliefs, nor do I
> want to start a flame war, but..

You probably will, but I digress.

>     Why is every1 expressing their beliefs ? Do they want to be appriciated
> or more positivily judged by other because of their beliefs ?
>     No offence, but I keep wondering, why tell the world 'that you're also a
> member of that club' unless you think that people might have more respect
> for you, which shouldn't be a good thing IMHO.

<tangent you="might wish to skip this part">
Why is it necessarily bad for someone to express their particular beliefs?
We do it all the time -- I express the fact that I think President Clinton is
a jerk, and a disgrace to the office. At the same time I recognise that there
are other people who have a considerably more positive opinion of him (not
difficult to do). I don't think your religious beliefs are different from any
other core value you might have, and I have no problem with people spending
two words on what you hold near and dear.

The fact that the previous author feels strongly enough about his
religious persuasion to put it in his mail sig I think speaks well of him.
If it devolves into a diatribe that's just Bible verses and no code, then you
have a legitimate complaint for it being off-topic. But I don't think "In
Christ" is anything to complain about. Would you complain if he wrote "In
Allah"?

Don't take this as a personal attack, but a lot of people think expressing a
particular religious viewpoint implies condemnation and a holier-than-thou
attitude to those who don't share it. And, true, given a certain highly visible
religious extremist minority, this viewpoint is at least partially justified.
I hardly find "In Christ" offensive or even worth a comment, and I applaud
the original poster for having the guts to put his central values in (IMHO)
a nonconfrontational and totally unobstrusive manner.

My two cents. smile
</tangent>

Back to lurking.

--
Cameron Kaiser * spectre at sserv.com * http://www.sserv.com/
--
Visit the leading Internet starting point today!
http://www.sserv.com/
--

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

8. Re: Array's in Euphoria

Whoops!
This will be a lesson for me to read everything in my mailbox first.

<tangent resumed>

I originally wrote:
> The fact that the previous author feels strongly enough about his
> religious persuasion to put it in his mail sig I think speaks well of him.
> If it devolves into a diatribe that's just Bible verses and no code, then you
> have a legitimate complaint for it being off-topic. But I don't think "In
> Christ" is anything to complain about. Would you complain if he wrote "In
> Allah"?

After reading everything else, I found a lot of other messages that express
similar religious sentiments, so I can understand where Ralf is coming from.

I'm going to put my own personal beliefs aside and you can take this FWIW.
If there are a lot of religious people using Euphoria, then great. I'm sure
there's a lot of C-programming Hindus, and no one's worried about future C
things like reincarnating constructors or structures with bad karma.

> Don't take this as a personal attack, but a lot of people think expressing a
> particular religious viewpoint implies condemnation and a holier-than-thou
> attitude to those who don't share it. And, true, given a certain highly
 visible
> religious extremist minority, this viewpoint is at least partially justified.

When posts start devolving into religious rhetoric (of any kind!), then there's
a legitimate complaint for off-topicality, and I'll be the first to say so.
Given the people on this list, I don't think that's going to happen.

If there are many Christians who are using Euphoria, then that's just the
demographic that's there. There's no personal attacks or anything like that,
and I don't think it's having a negative impact on anyone. I still applaud
people who get up there and say what core beliefs are important to them, since
religion is central to everything (no matter what you believe in). If you can
see God in Euphoria, great. smile
</tangent>

--
Cameron Kaiser * spectre at sserv.com * http://www.sserv.com/
--
Visit the leading Internet starting point today!
http://www.sserv.com/
--

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

9. Re: Array's in Euphoria

>I originally wrote:
>> The fact that the previous author feels strongly enough about his
>> religious persuasion to put it in his mail sig I think speaks well of
him.
>> If it devolves into a diatribe that's just Bible verses and no code, then
you
>> have a legitimate complaint for it being off-topic. But I don't think "In
>> Christ" is anything to complain about. Would you complain if he wrote "In
>> Allah"?


I would, I wasn't really offended. Merely dissapointed that some1 wants to
be judged on a choice in life, no1 can know if there is a god, no matter how
much they make themselves believe it. Still you admit judging the person
more positively, and that indeed annoyed me. But I can hardly be offended by
it. I think this is more a cultural difference, here in Holland, people
would never do something like that. It would mean, the person itself is
judging people by their beliefs, and that would be a generalization.

>> Don't take this as a personal attack, but a lot of people think
expressing a
>> particular religious viewpoint implies condemnation and a
holier-than-thou
>> attitude to those who don't share it. And, true, given a certain highly
> visible
>> religious extremist minority, this viewpoint is at least partially
justified.
>
>When posts start devolving into religious rhetoric (of any kind!), then
there's
>a legitimate complaint for off-topicality, and I'll be the first to say so.
>Given the people on this list, I don't think that's going to happen.

    Nope, it was offtopic and yes it was offending.. I don't want to be
judged on that at all. Not positively, and not negatively and when some1
expects to be jugded on that, I do feel insulted.. I would not be that dumb
to judge some1 on their beliefs.

>If there are many Christians who are using Euphoria, then that's just the
>demographic that's there. There's no personal attacks or anything like
that,
>and I don't think it's having a negative impact on anyone. I still applaud
>people who get up there and say what core beliefs are important to them,
since
>religion is central to everything (no matter what you believe in). If you
can
>see God in Euphoria, great. smile

Some1 beliefs are a personal thing, standing up and expressing those beliefs
is "dominant" behaviour. And certainly isn't worth any respect.

Furhtermore, religion is not central to every1, for me it is a cultural and
historical thing, and nothing more. But then again, maybe that too can be
considered a religion.. however it doesn't play any role in programming.

Ralf Nieuwenhuijsen
nieuwen at xs4all.nl

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

10. Re: Array's in Euphoria

> I would, I wasn't really offended. Merely dissapointed that some1 wants to
> be judged on a choice in life, no1 can know if there is a god, no matter how
> much they make themselves believe it.

THIS is exactly the kind of thing that starts flame wars. And BTW,
Ralf, if you really think that, I'm more than willing to argue the
contrary (in private e-mail, please). There are at least a couple
dozen good arguments for the existence of God, and better yet, I know
of at least one logical, rock-solid, proof for His existence. You
think not? E-mail me and I'll send you it.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu