TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

A few questions.

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming
Author Message
mindvirus



Joined: 03 Oct 2008
Posts: 1

PostPosted: October 3, 2008 11:23 AM    Post subject: A few questions. Reply with quote

Is there a way to delete specific indexes from a list?

For example, turn {1, 2, 3, 4, 5} into {1, 2, 3, 5}, deleting the 4th index?

Is there a way to use booleans in arithmetic? In other words, treat them as one or zero.

For example, seq(a[i]i, i, 1, dim(a)) where a is a list of true/false?

Finally, is there a way to make a list corresponding to a condition?

For example, seq(x|isPrime(x), x, 1, 10) where the returned value is a list of primes with minimum 1 and maximum 10, or:
seq(x|x≠5,x,1,10) where the returned value is a list of numbers from 1 to 10 without 5.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger AIM Address
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> BASIC Programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |