Search the web
Sign In
New User? Sign Up
50g
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Can anyone answer a question about compiled local variables?   Message List  
Reply | Forward Message #906 of 981 |
Re: Can anyone answer a question about compiled local variables?

> 5) So, can anybody write a simple program using compiled variables so I don't
have to PURGE all the variables I use all the time?

I will write one using a single command.

Type in 'PROG(X,Y)=X*Y^2' and then push DEF. PROG appears. Recall it an see that
it looks like this. << -> X Y 'X*Y^2' >>

Here is another:

<< -> A B C << A 2 ^ B 2 ^ + C 2 ^ = >> >>

TW




Tue Jul 7, 2009 4:15 am

timwessman
Online Now Online Now
Send Email Send Email

Forward
Message #906 of 981 |
Expand Messages Author Sort by Date

I made a program that looks like this: << Right Arrow (0 key) and a left arrow from the CHAR menu followed by X Y << X Y + >> >>. 1) No matter what the...
rickwendel763242
rickwendel76...
Offline Send Email
Jul 5, 2009
8:11 pm

The left arrow on its own is a compiled local variable, and the X and Y are non-compiled local variables. Hence 3 values are required for your program to make...
Jeremy Hawdon
leikkaus27
Offline Send Email
Jul 5, 2009
8:22 pm

So, how do your store data in variables from the stack and use it anywhere in the program or sub-routines? Where's the left arrow go?...
rickwendel763242
rickwendel76...
Offline Send Email
Jul 5, 2009
9:28 pm

The left arrow becomes part of the name of the variable, e.g. << -> <-X <-Y << <-X <-Y * >> >> This takes 2 numbers off the stack....
Don Hart
ddhart1
Offline Send Email
Jul 6, 2009
3:31 am

... I will write one using a single command. Type in 'PROG(X,Y)=X*Y^2' and then push DEF. PROG appears. Recall it an see that it looks like this. << -> X Y...
Tim Wessman
timwessman
Online Now Send Email
Jul 7, 2009
4:16 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help