Re: Greetings!

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

>I used to program in a language called GFA-Basic, a language for the ATARI
ST (680xx), it is procedure oriented similar to EU, but that was in the 80's
and I really have'nt programmed AT ALL for the Intel chip.

You don't need to worry about the chip, Euphoria hides all that from you.

What you want to know is the following:

    Euphoria preprocesses your code and then it makes an internal form out
of it, when it is doing that, all the escape characters are replaced by real
characters.

    An escape character in Euphoria starts like this: '\' and then has a
some character behind it to tell him what character.
    Example : '\n' is equal to 13
    Which makes the puts routine jump to the beginning of the next line (and
scroll the screen if needed)
    But what when you actually want to say '\' as a character ?
    Well you use this escape character '\\'

    So your file should be:
    File = "c:\\euphoria\\telenora\\dorinfo1.def"

    Remember that this only goes for your code, when you prompt a user for a
file name, he cannot use escape characters at all. They are there because
for example a line feed with interfere with the linefeeds used to give your
program some structure)

    For more information see the documentation (refman,doc), it has to be
there somewhere..

Ralf

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

Search



Quick Links

User menu

Not signed in.

Misc Menu