Re: Help,Help,Help and Hello again

new topic     » goto parent     » topic index » view thread      » older message » newer message

> No offense intended, but it seems that BASIC experience is a hindrance to
> learning Euphoria. If you can put that experience aside for a while,
you'll
> find Euphoria easier.
Hi
Yes I totally agree with that,I stopped programming in basic a month
ago,but the bad habits are still there.I will keep trying to understand
this stuff,when I was in basic I had to find so many work arounds that it
was not funny to get things done (Don't get me started on Random files) I
personal feel that the guy who cameup with random files should be
SHOT({LOL}{LOL}{LOL})
I can see the power that Euphoria has and love it if I could just get it
into my head.


> You can use the combination of print() and get() to write and read data
very
> easily, if you structure that data correctly.
>
> I would restructure the program in order to save myself a lot of typing
and
> debugging opportunities. When you reference many "loose" variables,
there's
> always a chance of missing some whenever you make a minor change to your
> program, plus it's much more convenient to read or write an entire batch
of
> related data with one command, instead of with dozens of lines.
>
> Your menu code was just fine, as was your use of Gabriel Boehms' PRINT.E.
> Try using your menu to call the routines below:
>
> Regards,
> Irv
Thanks for the help I will study it,The print.e is a good include file I
don't know if it is for the Linux Version? as far as the print statement
sometimes it works for me and somtimes it does not I think I have not
learned how to use it yet. let me ask a ? about it .if you print to a file
and then read it back and then print(puts) it back to the sreen will it be
readably? or do you have to do something to it.


> object budget
>      budget = {" ", -- month
>                 0,  -- income
>                {{"T-Rent:   ",0}, -- expenses
>                 {"S-Rent:   ",0},
>                 {"Electric: ",0},
>                 {"Phome:    ",0},
>                 {"Gas:      ",0},
>                 {"Misc 1:   ",0},
>                 {"Misc 2:   ",0},
>                 {"Misc 3:   ",0},
>                 {"Pawn:     ",0}}}
>
> procedure get_amounts()
> clear_screen()
> budget[MONTH] = prompt_string("Month: ")
> budget[INCOME] = prompt_number("Income: ",{0,4000})
 What is the 4000 there? I didn't know you could do that to the
prompt_number or string you learn something new everyday.

Thanks for all the help I am sorry for the 1 post I broke my rule DO not
post untill 2 hours after I have some truble so that I can cool down.Thanks
again.

David
pmosley at infoway.lib.nm.us

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu