Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Any Reason This Shouldn't Work?
« previous
next »
Print
Pages: [
1
]
2
3
Go Down
Author
Topic: Any Reason This Shouldn't Work? (Read 9514 times)
0 Members and 1 Guest are viewing this topic.
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Any Reason This Shouldn't Work?
«
on:
October 06, 2010, 04:59:28 am »
Ok, so I started working on my own version of a calendar generator, just for the fun of it. But when I get to my display routine something happens and I can't figure out why it's happening
It really is not making any sense to me and I can't explain this.
The code section is this:
Code:
[Select]
Text(H,12F-9,E
H=14
F=4
E=1
It just doesn't make sense to me because
Text(H,39,E
and other things without a variable in the second argument work fine. Anyone know?
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Any Reason This Shouldn't Work?
«
Reply #1 on:
October 06, 2010, 11:40:39 am »
It works for me, weird. Maybe it's a bug in your version of the OS? I'm using a TI-83 Plus OS 1.19, btw.
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Any Reason This Shouldn't Work?
«
Reply #2 on:
October 06, 2010, 11:44:32 am »
That's what I figured, that it should work. Ugh. This is bugging me now. This has never happened before
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Any Reason This Shouldn't Work?
«
Reply #3 on:
October 06, 2010, 11:47:30 am »
Are you sure that the variables are those numbers? Try putting an iPart() around the variables?
Logged
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Any Reason This Shouldn't Work?
«
Reply #4 on:
October 06, 2010, 11:51:05 am »
Ah, maybe they somehow got saved as complex numbers? Just an idea.
Logged
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Any Reason This Shouldn't Work?
«
Reply #5 on:
October 06, 2010, 11:53:23 am »
Either way, what is the problem? Like that is the error?
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Any Reason This Shouldn't Work?
«
Reply #6 on:
October 06, 2010, 11:55:32 am »
Well each time I get the domain error I always check what
U
(well now it is
U
instead of
F
) and it returns four. But I did put the
iPart(
around it and it seems to have fixed it
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Any Reason This Shouldn't Work?
«
Reply #7 on:
October 06, 2010, 11:56:37 am »
If you're calculating F inside a program, vars often have 0.00000000000001 or something inaccuracy, especially when it's calculated after a bunch of operations. It's horrible to debug
I've actually given up several projects before before I found that bug. Stupid TI-OS
«
Last Edit: October 06, 2010, 11:58:13 am by Deep Thought
»
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Any Reason This Shouldn't Work?
«
Reply #8 on:
October 06, 2010, 11:59:59 am »
Well I use
round(#,0
in it but that should just return the integer part of a number, without any decimal places.
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Deep Toaster
So much to do, so much time, so little motivation
Administrator
LV13
Extreme Addict (Next: 9001)
Posts: 8217
Rating: +758/-15
Re: Any Reason This Shouldn't Work?
«
Reply #9 on:
October 06, 2010, 12:01:39 pm »
It didn't work after
round(#,0
? O.o That's weird.
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Any Reason This Shouldn't Work?
«
Reply #10 on:
October 06, 2010, 12:04:20 pm »
No, it all works. I'm just saying that if you're right about it tacking on a negligible decimal point that is the only place I could see it coming from.
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Any Reason This Shouldn't Work?
«
Reply #11 on:
October 06, 2010, 01:47:55 pm »
Yeah, and the homescreen automatically rounds so that you always are looking at these horrible numbers like 23.000000000008 all the time
Logged
ztrumpet
The Rarely Active One
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5712
Rating: +364/-4
If you see this, send me a PM. Just for fun.
Re: Any Reason This Shouldn't Work?
«
Reply #12 on:
October 06, 2010, 05:46:52 pm »
Press [Math] [0
] (hold [up] after this if need be) and make the equation the vars you want (H, F, and E). Press [enter] then [down]. Enjoy learning about the variables in their entirety!
«
Last Edit: October 06, 2010, 05:48:14 pm by ztrumpet
»
Logged
If I'm wrong, please correct me!
Unfinished Projects:
Elmgon
14%
Basic
Movement Demo
Homescreen Game Pack
80%
Basic
Latest Release
Cube Droid Saves the Galaxy
65%
Axe
Demo
Detonate
70%
Axe
Completed Projects:
Exodus
|
Midnight
|
Drifter
|
Axe Snake
|
Jump!
|
Factory Theta
|
Spider
|
Plot Drop
|
Papi Jump
|
Numb3rs
|
Nibbler
|
Boost
|
Duel Tile Map Editor
|
Homescreen Map Editor
|
Key Group Check
|
Oasis
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Any Reason This Shouldn't Work?
«
Reply #13 on:
October 06, 2010, 06:01:45 pm »
Hey thats a much faster version of what i do! I usually put them into a list and view them in the List editing menu
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Any Reason This Shouldn't Work?
«
Reply #14 on:
October 06, 2010, 06:18:04 pm »
Wait, what is that supposed to do exactly?
Also, is
iPart(
the only solution to this? I thought
round(
would solve it all but I guess not
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Print
Pages: [
1
]
2
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Any Reason This Shouldn't Work?