1. Unobvious (?) techniq

L> ====================8<------- SNIP ------->8====================
>J>  s = (newval * (s = keyval)) + (s * (s != keyval))
L>
>it says: s = newval IF s = keyval, OR s = s IF s != keyval.
L> ====================8<------- SNIP ------->8====================
L>
L> Looks like you cut through all the math theory foodarah and got to the
L> meat of the subject. <BG>

Larry,
Glad it made sense. That and more described in Boolean Logic theory,
I believe.

---
 * SRP 2.00 #2663 *

new topic     » topic index » view message » categorize

2. Unobvious (?) techniq

Larry,

L> the functions required. TMLS, Depatment head ran my compiled code, Grade
L> got changed to A+.
L>
L> Meat of algorithm in pseudocode is
L>         Var1=[somevalue]
L>         Var2=[somevalue]
L>         Var1=Var1 xor Var2
L>         Var2=Var2 xor Var1
L>         Var1=Var1 xor Var2

Now THAT is new for me. I like it. Had to get a scratch pad and run
through an example to verify.

L> Don't rember where I got this from but have used it since the old C= 64
L> days, heck when you only had 64K you had to do every thing possible to
L> save memory.

Recall the days, but I was on an Atari. <g>

---
 * SRP 2.00 #2663 *

new topic     » goto parent     » topic index » view message » categorize

3. Re: Unobvious (?) techniq

> L> Don't rember where I got this from but have used it since the old C=
64
> L> days, heck when you only had 64K you had to do every thing possible to
> L> save memory.

Oh, pooh. Wait till you hear how I had to write serious Basic shorthand in
order to make a game fit in 16K on a TRS-80 Model I. Z-80a Assembly never
looked so good! At least the C=64 had pixel graphics! :)

From TRS-80 Basic to Euphoria: quite a few years indeed! One must wonder
what the next 13 years will produce in programming languages! I would
imagine by then Euphoria would have greater acceptance and would probably
even be used in corporations as a applications design tool for in-house
programmers.

David Gay
"A Beginner's Guide To Euphoria"
http://www.geocities.com/SiliconValley/Vista/4346

new topic     » goto parent     » topic index » view message » categorize

4. Re: Unobvious (?) techniq

On Wed, 23 Jul 1997 08:05:29 -0400 David Alan Gay
<moggie at INTERLOG.COM> writes:
>Subject:      Re: Unobvious (?) techniq
====================8<------- SNIP ------->8====================
>> L> Don't rember where I got this from but have used it since
>> the old C= >64
>> L> days, heck when you only had 64K you had to do every thing
>possible to save memory.
>
>Oh, pooh. Wait till you hear how I had to write serious Basic
>shorthand in order to make a game fit in 16K on a TRS-80 Model
> I. Z-80a Assembly never looked so good! At least the C=64 had
>pixel graphics! :)

And eight count them eight built in sprites. Not trying to get a
contest started but VIC 20 was the first machine I owned and I
did learn 6502 assembly to be able to get things done in 2K
<BSEG>

>From TRS-80 Basic to Euphoria: quite a few years indeed! One
>must wonder what the next 13 years will produce in programming
>languages! I would imagine by then Euphoria would have greater
>acceptance and would probably even be used in corporations as a
>applications design tool for in-house programmers.

First thing that has to happen is that it will need to be
optimized for the windows environment, ain't no going back :\.
Then it will need to be able to build and use DLL's. Then it will
need a GUI Interface that will communicate with the windoze and
visual basic X controls modules.

I looked at it for the purpose of prototype and algorithm
development and test data generation. It is a fine language for
the quick and "dirty" application. It does have limited use for
those functions but IMO it has more use as a teaching tool for
programming logic. OMO remember, I have no claim to fame as an
expert other than I do make a few dollars doing System Design
consulting work to local business and government.


Larry D. Poos
-[USMC (Retar{bks}{bks}ired) Havelock, NC]-
-(Just Downsized) Programming and System Consultant, LTAD Enterprises -

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu