RE: Live Tutoria?

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

> 
> BTW, rundemos.exw is with win32lib
> 

I saw the extension .exw and gathered as much.  For the time being, I 
will stick with DOS to get a better feel for the program and build my 
basic library. {Smiles}

> 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.

The Inkey program was used to help construct the Inkey procedures, two 
of which {I can quite proudly say} I wrote myself with only a little 
help from you. {Beaming}

> 
> 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.
> 

That makes sense.  It's interesting that you would say this, about the 
output type being specified.  When I originally coded these subroutines, 
I specified the type of variable to be printed.  As a result, each of my 
ColorLocatePrint procedures only print one type of variable.

Ummm ...  It get's better ... {Blushing}

I wanted total control over how things were formatted and printed in 
QBasic.  PRINT and PRINT USING are good, but I wanted ***MORE***.  So my 
ColorLocatePrint subroutines ended up being restricted to Text Only 
printing capabilities {Strings}, for formatting.  The idea {and a great 
deal of the messes I make programming} is that I would format all output 
in to strings, then send those strings to ColorLocatePrint to be 
colored, positioned and printed on the screen.  ColorLocatePrint made my 
screens real purdy.  People were often amazed how well the scripts 
worked.

Love & Friendship & Blessed Be!
Lynn Erika Kilroy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu