Jump to content



Photo
- - - - -

Can I Call A Program From The Main Window?


  • Please log in to reply
14 replies to this topic

#1 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 25 January 2006 - 09:52 PM

I know I can call a user defined function from the main window, ex: sumAB (1,4)
can I do this with programs also? I couldn'd find it on the manual... :(

#2 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 25 January 2006 - 10:36 PM

It isn't possible sorry... :cry:

#3 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 06:38 AM

Maybe this will help at least a little: Prog Conv

#4 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 27 January 2006 - 04:29 PM

If it works it'll help a lot :greengrin:
I thought functions could only make plain calculations...
Anyway, I'll get into cp300 programming as soon as I make my fortran90 final exam :banghead:

#5 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 05:24 PM

Programming? Not bother then with Basic! My proposal is Lua, best thing ever invented for CP!!! Its very powerful language which can help You with almost every task. Standart CP functions, known from Main Menu can be also used.

#6 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 27 January 2006 - 05:38 PM

What I need the most are programs that I can call from the main menu, can LUA do that?
I also heard about c programming for the CP... how is this?

#7 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 05:40 PM

What exacly do You need to do?

#8 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 27 January 2006 - 09:02 PM

I was thinking about coding a unit converter that is useable from the main menu (where all the calculations are made), it would receive a number as an argument, then ask the user which units "from" and "to" and then return the value to the screen. just as a normal fuction does.

I haven't had any time lattely to even look at cp programing, but from what I understood only functions are useable from main, and these can't interact with the user. :blink:

Other uses would be to do complex enginnering calculations.

#9 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 09:10 PM

Is interaction needed? If not, second argument could be code of conversion, it would be easy to make. But You already know this. Interaction You expect in Main Menu is impossible. But still I think You should get aquinted with Lua. I think most of engineering calculations can be made there. If You could giveme specific problem maybe I could prepare for You example solution.

#10 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 27 January 2006 - 09:31 PM

Can functions receive a string as argument? ex: conv(23,ft,m)
Iteraction is needed in lots of programs, but those don't really need to be ran from main ;)

#11 Kilburn

Kilburn

    Casio Technician

  • Members
  • PipPipPipPipPipPip
  • 491 posts
  • Gender:Male
  • Location:France
  • Interests:Blah

  • Calculators:
    FX-7500 G
    ClassPad 300

Posted 27 January 2006 - 09:36 PM

Can functions receive a string as argument? ex: conv(23,ft,m)
Iteraction is needed in lots of programs, but those don't really need to be ran from main ;)


No, my add-in PRGM Conv doesn't support commands and it will never do. :( So you can input a string but do nothing on it :cry:

#12 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 09:55 PM

Why it is so important for You to use string value instead of integer value?

#13 jps

jps

    Newbie

  • Members
  • Pip
  • 21 posts

  • Calculators:
    ti-86
    classpad 300

Posted 27 January 2006 - 10:14 PM

well... My ti-86 has conversions from and to, for something like 100 units. If I were to associate every unit with a number i'd need also a large charge with all variable names and corresponding numbers :blink:
thats also why interactivity would make it much more user-friendy. Something like: choose unit class (length, energy, etc), choose from and to units, and input value. The output could be on screen and to a variable too.

#14 -Tom-

-Tom-

    Casio Freak

  • Members
  • PipPipPipPip
  • 104 posts
  • Location:Poland
  • Interests:Tides, Celestial Navigation, Deadreckoning

  • Calculators:
    Cla$$pad 300

Posted 27 January 2006 - 10:20 PM

well... My ti-86 has conversions from and to, for something like 100 units. If I were to associate every unit with a number i'd need also a large charge with all variable names and corresponding numbers :blink:
thats also why interactivity would make it much more user-friendy. Something like: choose unit class (length, energy, etc), choose from and to units, and input value. The output could be on screen and to a variable too.


You must agree with that You will not have full user interraction in "Main". I know that sometimeses it isgood to write it especially if You want to share Your progs with friends. ------> Lua, this will sove Your problems, or sophisticated e-activities.

#15 Filip Georgijev

Filip Georgijev

    Casio Fan

  • Members
  • PipPip
  • 37 posts
  • Location:Skopje, Republic of Macedonia
  • Interests:Computing, Programming, Casio...

  • Calculators:
    CASIO ClassPad 300 OS Version 2.00 2x, CASIO ALgebra FX 2.0 Plus, CASIO CFX-9970G, CASIO CFX-9950GB+, CASIO fx-6300G, CASIO fx-570, CASIO fx-991MS and so on... Huh!!!

Posted 30 January 2006 - 12:52 PM

You can write single commands and run them from inside the Main application! It is inconvenient a little (you do not have a menu with them like in the Program Editor), but use the abc or catalogue tab of the keyboard!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users