Re: New prog!
- Posted by Matthew A Nunyabidness <matt1421 at JUNO.COM> Sep 18, 1998
- 530 views
On Thu, 17 Sep 1998 19:47:11 -0700 Hawke <mdeland at NWINFO.NET> writes: >Matthew A Nunyabidness wrote: >>I wrote a color band program in Euphoria and QuickBASIC(just a >>comparison). See for yourself the speed: >>Try it out! Band.ex is wwwwwwwaaaaaaayyyyyyyy faster. >>I bet it would be even s-l-o-w-e-r in QBasic. >90% or more of us on the list, almost assuredly, program with >Euphoria because Euphoria is simply *FAST*. >*Fast* to write code with, *Fast* at runtime. >The RDS crew,Rob most notably, flat outdid themselves. > >> puts(1,"\nHit any key") >> object wkey >> wkey=wait_key() >> if wkey then >> end if >>If you think you can enhance it or something, email me. >a much simpler way to do a 'waitkey' type affair: > puts(1,"Press a key\n") > if wait_key() then end if > > >>Try binding band.ex! >Unless I'm mistaken, you're impression of what binding >does to a program written in Euphoria is a tad askew. >Binding does not "compile" a .ex file. It is more >of an appending, not a compiling. It simply puts >the ex.exe and all of your programs' components >(include files and your .ex) into one executable >file. (well, it can do other more advanced things, >but those things are mostly associated with "shrouding") > >This resulting exe file can be run by anyone else, >without them having to have all those seperate include >files, .ex files, and ex.exe all laying around. > >Binding can also be taken a step further, into >shrouding, whereby the resulting .exe file that >you distribute cannot be read easily. Your include >files and .ex files, being straight text, can be easily >read, and sometimes you want proprietary code to be >just that, proprietary. > >Binding is only a method of simplifying distribution >of your game/program/utility to those that aren't >Euphoria programmers. On the listserv, for instance, >we usually pass around .ex and include files, as >we are all programmers here, and we all have ex.exe. >We don't need to bind for distribution to each other, >and it would eat bandwidth as well (all those 'extra' >copies of ex.exe within all those bound files). >If a program we create uses a bunch of includes, and >a lengthy .ex, then we usually zip the includes & >.ex for passing around via attachments. > >Hopefully, this clarifies any misconceptions you have >about binding. Don't feel bad, many of us, myself >most notably included, had similar misconceptions >about binding. > >It also broke a lotta wishfull hopes >when we found out we couldn't 'compile' :) >(jus' pickin' on ya rob) > >>If you have any tips on how to make a screen mode in Euphoria or >>BASIC(256 colors, 640x480 graphics, 80x25 text), tell me!!!!!!!!!!!!! >>Screen 13 is the best I can get, but I want a finer resolution. >wouldn't that depend on your monitor and video card? >or do you mean that you have a razzledazzle video setup >but don't know how to make Euphoria enter into higher modes? > > >--Hawke' >p.s. Welcome. You'll soon delete all copies of Basic on your >HD, as did we all. :) (As I type this, I realized that on the >bookshelf within view, there lies my old TurboBasic reference >manual that hasn't been touched since downloading EUPH--heh) > I said I compiled the BAS file, not the EX file. And I will NEVER delete my precious copy of QuickBASIC. _____________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com Or call Juno at (800) 654-JUNO [654-5866]