Haha, I'm going to have to decline. This is all yours but if you need some help I am willing to point you in the right direction. Just tell me what your stuck on, and I'll see if I can explain it.
I'll post some here in a bit then...as for now I wish to know how to make this text to come in spelled in reverse then flip around!


Code:

6->J
ClrText
Locate 1,4,"--------------------"
Locate 3,1,"O"
Locate 2,2,"-I-*"
Locate 2,3,"I I"
For 1 ->A to 7
Locate 5,2,"+"
Locate 5,2,"*"   
Locate 5,2," "
Next
Locate 2,2," "
Locate 4,4,"="
Locate 5,2," "
for 1 ->A to 12
Locate J-1,2," "
Locate J,2,"*"
Locate J,2,"+"
" ETERNAL"->Str 1
For 0->I To 6
Locate I+10,2,StrMid(Str 1,I+1,I)
Next
Locate 17,2," "
Locate 18,5,"O"
Locate 16,6,"*-I-"
Locate 17,7,"I I"
15 ->J
For 1 ->A to 7
Locate 16,6,"+"
Locate 16,6,"*"
Locate 16,6," "
Next
Locate 20,6," "
Locate 17,6,"="
Locate 16,6," "
For 1 ->A to 12
Locate J+1,6," "
Locate J,6,"*"
Locate J,6,"+"
" PRIZM"->Str 2
For 0->I To 5
Locate I+5,6,StrMid(Str 2,I+1,1)
Next
Well there is two ways you could do this:
-Like a snake game, it moves up and then around
-Spin around like you were saying.
I would do this for an example, just change it to you likings.
[code]
"gnikadlez"->Str1
For 21->A to 1 Step -1;9 is length of string
Locate A, 7, StringMid(Str1, 1, 21-A
End
This is just some code for the string loop, now just figure out how to flip it (;
ok code is FINISHED! Very Happy...great now I have an out of Domain error here -_-


Code:

Locate N,4,"   "
Locate N,5,"    "
Locate N,6,"    "
Well then N is either > 21 or <1
I'm getting domain errors left and right now that NEVER happened befoore...can you take a look and help me see why?


Code:

Locate M,4,"O"
Locate N,5,"-I-+"
Locate N,6,"I I"
Locate O,5,"*"
Locate O,5,"+"
Locate O,5,"*"
Locate O,5,"+"
Locate O,5,"*"
Locate O,5,"+"
If Getkey=26
Then O+2 ->F
Locate N,5," "
For 1 ->A to 12
Locate F,5,"*"
Locate F,5,"+"
Locate F,5,"*"
F+1 ->F
Locate F-1,5," "
F=21 =>20 ->F
Next
IfEnd
If Getkey=27
Then M=19 =>M-1 ->M
O=21 =>21 ->O
N=17 =>17 ->N
Locate N,4,"   "  (3 spcs
Locate N,5,"    " (4 spcs
Locate N,6,"    "
M<20 =>M+1 ->M
N<18 =>N+1 ->N
O<21 =>O+1 ->O
O<21 =>O+2 ->F
IfEnd
If Getkey=25
Then Locate N,4,"   " (3 spcs
Locate N,5,"   "  (3 spcs
Locate N,6,"    " (4 spcs
Locate M,4,"O"
Locate N,5,"-I-"
For 1 ->A to 7
Locate N,6,"-^-,"
Locate N,6,"-^-,"
Locate N,6,"    "
Locate N-1,6,",-^-"
Locate N-1,6,",-^-"
Locate N-1,6,"    "
Next
IfEnd
If Getkey=38
Then M=3 =>M+1 ->M
O=2 =>2 ->O
N=4 =>4 ->N
Locate N,4,"  "  (2 spcs
Locate N,5,"    "   (5 spcs
Locate N,6,"    "    (5 spcs
N=/=2 =>N-1 ->N     (=/= is not equal to
M=/=3 =>M-1 ->M
0=/=5 =>O-1 ->O 
IfEnd
If Getkey=69
Then Locate N,5,"     "  (5 spcs
For 1 ->A to 5
Locate N,5,"-I-o"   (where o is the degree mark...optn F6, F5, F1
Next
Locate N,5,"     "  (5 spcs
For 1 ->A to 3
Locate N,5,"-I/"
Next
For 1 ->A to 3
Locate M+2,4,"/"
Next
For 1 ->A to 4
Locate M+3,5,"O"
Next
Locate M+3,5," "
For 1 ->A to 3
Locate M+3,4,"O"
Next
For 1 ->A to 4
Locate M+3,5,"I"
Locate M+3,6,"'"
Next
For 1 ->A to 10
Locate M+4,6,","
Locate M+4,6,"."
Locate M+4,6," "
Locate M+2,5,"."
Locate M+2,5,","
Locate M+2,5," "
Locate M+2,6,"."
Locate M+2,6,","
Locate M+2,6," "
Next
For 1 ->A to 11
Locate 7,2,"FATALITY!"
Locate 6,3,","
Locate 6,3,"."
Locate 6,3," "
Locate 9,3,","
Locate 9,3,"."
Locate 9,3," "
Locate 13,3,","
Locate 13,3,"."
Locate 13,3," "
Next
ClrText
Goto Y
IfEnd
T-1 ->T
If Getkey=36
Then Locate N+3,5,"  "  (2 spcs
For 1 ->A to 2
Locate M,4,"O o"    (where o is the degree mark
Locate N,5,"-I/"
Locate N,6,"-^I"
Next
Locate N,6,"    "   (4 spcs
Locate M,4,"   "    (3 spcs
Locate N,5,"    "
For 1 ->A to 2
Locate M,3,"O *"   (where * is the asterix located in symbol
Locate N,4,"-I/"
Locate N,5,"~^I"
Next
Locate M,3,"   "   (3 spcs
Locate N,4,"    "   (4 spcs
Locate N,5,"    "
IfEnd
WhileEnd


ignore the parenthetical comments...but it seems the Locates are now an issue somehow
It gives an error so then see what line the error is at, fix it and go from there.
I've been trying to fix it all night...Somethings wrong with my variable values ;p
I've played around with the variables for days...I can't get this darn thing to stop giving me domain errors!..this might take longer than I expected
The_Coded wrote:
I've played around with the variables for days...I can't get this darn thing to stop giving me domain errors!..this might take longer than I expected
What line and command do the domain errors occur? Are you trying to write off the edge of the screen?
Kerm I have no clue sometimes on the "locate, F" sometimes at "Locate, N"

Code:

Locate N,5,"   "  (3 spcs
Locate N,6,"    " (4 spcs
Locate M,4,"O"
Locate N,5,"-I-"
For 1 ->A to 7
Locate N,6,"-^-,"
Locate N,6,"-^-,"
Locate N,6,"    "
Locate N-1,6,",-^-"
Locate N-1,6,",-^-"
Locate N-1,6,"    "
Next



Code:

Locate F-1,5," "
F=21 =>20 ->F
Next

I really don't know how to explain other than that one.
If you want you can copy/paste the code (Without comments) and see?
Bump

After almost 15 days, I can say I have no clue what's even remotely wrong..I use Run Matrix and I get 4 for N and it's still telling me that it's out of bounds. anyone have any clues?
  
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 3 of 3
» 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