Jump to content



Photo
- - - - -

Result Of A Function Into Variable


  • Please log in to reply
2 replies to this topic

#1 Coaster

Coaster

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 31 December 2008 - 02:11 AM

Hi,

I want to use the solve function and i want the result to be assigned to a variable.

solve(....,x)=>p1 will just insert into p1 the string {x=....} which is not what i want. I want the numeric value of x.

I've read that variables used in system functions are classified as local and so the variable used is automatically eliminated.

How can I "solve" this?

tks

#2 diiego06

diiego06

    Newbie

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:Cbba-Bolivia

  • Calculators:
    ClassPad 300

Posted 04 January 2009 - 10:24 PM

try this:

solve(....,x)=>a
getright(a1)=>p1

#3 Coaster

Coaster

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 05 January 2009 - 02:24 AM

try this:

solve(....,x)=>a
getright(a1)=>p1


Thank you SO MUCH! You just saved me a lot of trouble!

THANK YOU!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users