Re: Live Tutoria?

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

Craig Welch wrote:
> Lynn Kilroy wrote:
> >Okies.  You guys all gave me great advice,
> >so I think I will ask for little
> >code snippets to make mine own include file.
> 
> key.ex in euphoria\bin will show you keycodes, as well as how to read from the
> keyboard.
> 
> I strongly recommend that you run 'rundemos.exw' shortly after, it's the best
> learning tool around. And code snippets everywhere.
> 
> -- 
> Craig

BTW, rundemos.exw is with win32lib

Also, Lynn, with regards to your Inkey program you should use puts() instead of
? or print(). print() and ? print sequences as numbers whereas puts() prints
sequences as strings.

I won't explain printf() here (read the docs) but it is pretty flexible for
printing out different data types.

Euphoria doesn't have a built-in procedure like BASIC's PRINT that determines
the type of a variable automatically and prints it out accordingly. You have to
specifiy it like in C.

--
"The author regrets that he is unable to reconcile himself to the
thoughtful point of view you have expressed. However, it must be kept
in mind that being raised in different cultures and different places can
result in such differences of viewpoint between individuals.
The author is from planet Earth." [author unknown]

j.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu