Recent Forum Posts

Looking for something?

Don't see a match? Post to the community

From categories:
page 1123...next »
1→dim(ʟBUG
ClrHome
Repeat getKey
Output(3,2,"G a s a e  u   B  b u - e r 9 
Output(3,2," r y c l  B g   y  l e b a - 4
End
Lbl Y
ClrHome
4→A
4→B
startTmr→C
randInt(1,8→D
randInt(1,16→E
DelVar SRepeat 60≤checkTmr(C
Repeat Ans
Output(A,B,"X
Output(D,E,"O
getKey
Output(A,B,"+
Output(D,E,"+
End
Ans→K
If Ans
Output(A,B," 
If Ans=105
Goto N
B-(Ans=24 and B≠1)+(Ans=26 and B≠16→B
A-(K=25 and A≠1)+(K=34 and A≠8→A
If min({A,B}={D,E
Then
S+1→S
randInt(1,8→D
randInt(1,16→E
End
End
ClrHome
For(I,1,200
Output(4,6,"S O !
Output(4,6," T P 
End
getKey
ClrHome
If S>ʟBUG(1
{S→BUG
S
Repeat getKey
Output(4,2," o r  c r  i :
Output(5,8,Ans
Output(4,2,"Y u  s o e  s 
Output(5,8,"  
End
ClrHome
ʟBUG(1
Repeat getKey
Output(4,7,"T p 
Output(5,8,Ans
Output(4,7," o :
Output(5,8,"  
End
Menu("Play again?","Yes",Y,"No",N
Lbl N
ClrHome
randInt(10,99→A
randInt(10,99→B
Disp ""
Output(1,1,A
Output(1,3,"*
Output(1,4,B
AB

Can someone post the source? This sounds fun


HaXIgwj.png Bio_Hazard1282

Dont work. Pxl will be placed together.but i dont know why. I allways need a gap between.

Re: Pxl-test by Gaptosm MeyerGaptosm Meyer, 25 Apr 2018 11:04

Hm…
I actually dont really understand how it works at the moment.

Tryed many ways, but it didnt work well.

Have anybody an other Idea?

Re: Pxl-test by Gaptosm MeyerGaptosm Meyer, 25 Apr 2018 06:46

This should work for what you want to do as long as 1≤dim(L1)≤127

Lbl R
ClrHome
For(A,1,dim(L1),1
Output(1+iPart(A/16),1+16fPart(A/16),sub(Str1,L1(A),1))
End
Pause

By dividing by 16 (the width of the homescreen), we obtain a row (integer) and a column (decimal). Since the row cant be 0, we add 1 to account for all numbers less than 16. Therefore 1+iPart(A/16) gives us a row to display. To get the column, we need to convert the decimal back to an integer. We do this by multiplying by the same thing we divided by. This is what gives the 16fPart(A/16). To deal with the case of 16,32,48,64, etc, where there is no decimal we need to add 1 just like we did with the row. Thats where we get 1+16fPart(A/16). If you want to get rid of the preceeding space, you need to adjust a few things. If you want to do that just post here and I can update the code.

Side note: Using this method, each spot on the homescreen receives an address from 0 to 127. This allows for a character to be displayed at a specific location based on the address. Could be cool to use this combined with randInt(0,127) as a location randomizer in a game

Edit: If someone wanted to modify this to use length(Str1, and to add this to the text wrapper page as an alternate routine, that might be a good idea

My meaning is that the program can produce one line of text such as

ABCDEFGHIJKLMNOPQRSTUVWXYZ, or some such

But if the list of data is longer than this, the program cannot move to the next line and throws an error.

Before I looked at the code you had, I was thinking of using a For( loop to solve the problem, then I saw that you had already done that. Are you wanting the numbers to be displayed in a column, or by "wrap" do you mean that you want the program to take the individual characters and put them on the same line next to each other? I'm not completely sure after reading your post.

Like this:
1
2

or this:
12

Hello, I am trying to create a program that decodes text stored in a list using a proprietary encoding format. The program searches through the list, uses sub( to convert a number to a character string and outputs this with Output(.

Usually Output( can wrap the text automatically, because the string is not usually one character long, but in my case, the string is one character long and the column is incrementing. I have tried several ideas but have not been able to find a way to wrap text in this style. This is the last working routine, which can output one line only:

Lbl R
ClrHome
For(A,1,dim(L1),1
Output(1,A,sub(Str1,L1(A),1))
End
Pause

Can I get help with working out a method to wrap text when characters are being handled one at a time?

you could possibly build some sort of check using instring

Re: String syntax check by TrenlyTrenly, 24 Apr 2018 20:04

It does! Thanks! XD


HaXIgwj.png Bio_Hazard1282
Re: Why this? by Bio_Hazard1282Bio_Hazard1282, 24 Apr 2018 19:26

1: Please do not double-post. The Site Rules clearly say that double-posting is prohibited. This is not your first warning, either.

2: I am not sure that you can override the calculator's error system to do what you are wanting to do. You could perhaps tell the user how to type in the string so that it does not return an error, but as for what you are asking, I would say probably not.

Re: String syntax check by Myles_ZadokMyles_Zadok, 24 Apr 2018 19:12

So…

If i type something that would normally return an error, say (, it will not exit the program

Re: String syntax check by AravenFtw LukeAravenFtw Luke, 24 Apr 2018 18:38

So for example

Lbl 1
Input "",Str1
(syntax check)
(if fails):Menu("ERR:SYNTAX","Quit",1
(if it works):Output expr(Str1)

give meh teh command!

String syntax check by AravenFtw LukeAravenFtw Luke, 24 Apr 2018 18:34

The Activity (beta) tab seems to have trouble loading when there is a lot of activity. It is also important to note that it is a beta feature, meaning that it is still (I assume, anyway) under development. What you should do is click on your avatar, then click on the link that says profile page, and you should see two tabs: one that shows all of the page edits you have ever made with your Wikidot account, and the other that shows all of the posts/comments you have ever made with your Wikidot account. Hope this helps! :P

Re: Why this? by Myles_ZadokMyles_Zadok, 24 Apr 2018 17:57
I wanted to take a look at my activity over time on being on WikiDot, I see there is a minor problem with the Activity (Beta) tab on my account:
Hi7Rbld.png

Is this because there are too many users? Could it be that I have done too much activity?


HaXIgwj.png Bio_Hazard1282
Why this? by Bio_Hazard1282Bio_Hazard1282, 24 Apr 2018 17:19
Re: Opening a .8xp file by TrenlyTrenly, 24 Apr 2018 15:02

Even that is still restricted. Anyways, a representative emailed me and said either me or someone else must tell and explain why I wanted the specific sited white-listed:

  • Cemetech.net
  • TI-Calc.org

I need to provide an "argument essay" on why it should be white-listed.
I don't know where to start!


HaXIgwj.png Bio_Hazard1282
Re: Opening a .8xp file by Bio_Hazard1282Bio_Hazard1282, 24 Apr 2018 14:04

What you could do to make the maze (or the least how I see it) is to make all of the walls of the maze first and then make the openings in the walls. I don't have the time at the moment to attempt to make this work to show you, but work with this general concept. Also, try making this game work on the home screen first, as the screen is 8x16, making it possible to utilize matrices. If you can figure it out on the home screen, then it should be easier to make the same idea work on the graph screen.

Re: Pxl-test by wifijoewifijoe, 24 Apr 2018 12:14

That is true, i hadn’t even noticed that

Re: Opening a .8xp file by TrenlyTrenly, 24 Apr 2018 05:36
page 1123...next »