Re: Need some advice on project

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

Thanks, Irv and Lucius, for your code.  I'm hammering out the details.

What would be the most efficient way to scan the leading and trailing spaces
off a string?  When I prompt the user for a filename, I'd like to make sure
there are no leading/trailing spaces.  I could create a loop in several
different ways, but I saw a better way to do it one time and can't remember
where I saw it (maybe I was hallucinating).

Another thing: when programming in other languages, I created a phantom
cursor (highlight) by getting the char/attribute pairs for the area I wanted
to highlight (usually by calling BIOS int 10h service 8), xor-ing the
attribute with some number, and writing the attribute back to video.  That
way, when I wanted to remove the phantom cursor, I could simply call the
same routine again.  How should I create a phantom cursor in Euphoria?
Would it be fast enough to use the predefined functions for saving and
restoring areas of the screen?

Thanks,

Ben

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu