Oh thanks for the offer. But I already had some code in mind and I want to make a base conversion program myself.
Kllrnohj wrote:
Radical Pi wrote:
Quote:
Ok. So let's say I want to change from string to number. expr( does this for you? So far I've been doing it by storing a string to Y1...
How do you convert from equation to number?


....read the post right about yours. I answered that Rolling Eyes
???
I editted the first one to have a quote and it came out as another post?

So, can my one kepress line be optimized?
Actually, that's the best and most optimized way to do that. Good Idea
Are you sure there's nothing like If more than 72 or less than 74 or more than 82...

I'm so used to being wrong there's no way I can back out of this streak now! Laughing
Now I need a new game idea.
Well, if it was 72,73,74,82,83,84 etc I could do it, but the numbers are patternic enough to be optimized with boolean logic.
This time I didn't put much effort into hardcore optimizations (or the actual game). But did I miss anything major? (Copying into Graphlink should take the special symbols away...)

One player pong: <edit> see post below.
PLEASE dude: http://sc.cemetech.net
4% optimization, but nothing done to the program Question
The good optimizations are still done by people, I think.
that is true. but it has some of the minor ones (mostly size ones), but Kerm pointed you there to post code here
Oh.
1 12 731-1 1\10013><0125 50/\/\3+1/\/\35, but don't quote me on that.
BASIC Code wrote:
:Full
:LabelOff
:GridOff
:FnOff
:ZStandard
:ClrDraw
:AxesOff
:‾62→Ymin
:1→ΔY
:2→C
:Ans→D
:Ans→E
:Ans→F
:‾30→A
:Horizontal(Ymin
:Horizontal(YMax
:Line(Xmin,A+2,Xmin,A-2
:Line(Xmax,C+2,Xmax,C-2
:Pxl-On(C,D
:Repeat K=45
:getKey→K
:Line(‾10,A+3,‾10,A-3,0
:A-3(K=34)+3(K=25→A
:Line(‾10,A+2,‾10,A-2
:Line(10,4-C,10,‾C-4,0
:Line(10,2-C,10,‾C-2
:Pxl-Off(C,D
:C+E→C
:D+F→D
:If D=94 or not(D
:‾F→F
:If C=60 or C=2
:‾E→E
:If not(D) and not(pxl-Test(C,D
:Then
:ClrDraw
:45→K
:End
:Pxl-On(C,D
:End
Generated by SourceCoder, © 2005 Cemetech
Much more readable, don't you agree? Smile So let's see what we can find:
I can see only one thing to optimize. Change this:
Code:
:If not(D) and not(pxl-Test(C,D
to
Code:
:If not(D or pxl-Test(C,D
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 2 of 2
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement