Author Topic: Figure out if Ans is a Number or a String  (Read 9103 times)

0 Members and 1 Guest are viewing this topic.

Offline Insorak

  • LV3 Member (Next: 100)
  • ***
  • Posts: 76
  • Rating: +4/-0
  • Omnimaga n00b
    • View Profile
Re: Figure out if Ans is a Number or a String
« Reply #15 on: January 04, 2010, 03:35:24 pm »
How about between a list and string, or between a matrix and list... *wince*
(re)working on Anti-RPG: 3% completion

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Figure out if Ans is a Number or a String
« Reply #16 on: January 04, 2010, 04:03:59 pm »
How about between a list and string
Code: [Select]
Delvar LAAns->A
"->A
not(dim(LA

Edit: Fixed a bug

Edit2:
or between a matrix and list...
Code: [Select]
Delvar Adim(Ans->A
not(A
« Last Edit: January 04, 2010, 04:29:02 pm by calc84maniac »
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: Figure out if Ans is a Number or a String
« Reply #17 on: January 04, 2010, 06:05:05 pm »
Well, all those solutions are better than the one I had by far. :P Just how do you people think of these things?!?!
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline 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.
    • View Profile
Re: Figure out if Ans is a Number or a String
« Reply #18 on: January 06, 2010, 09:47:37 pm »
Is it possible to tell if Ans is a matrix vs a string?  Have fun with this one!

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: Figure out if Ans is a Number or a String
« Reply #19 on: January 07, 2010, 08:40:13 am »
I am trying to do the list versus number. The string or number works too for list and number but maybe there is a smaller solution.

I will put the routines in TI-BD for archive. (EDIT: the number or string is already there ;) )
« Last Edit: January 07, 2010, 08:40:51 am by Galandros »
Hobbing in calculator projects.