Jump to content



Photo
- - - - -

Getting Number Inputs Within Rectangle Box

casimo flyingfisch

  • Please log in to reply
1 reply to this topic

#1 Naga

Naga

    Newbie

  • Members
  • Pip
  • 25 posts
  • Gender:Male
  • Location:chennai,India

  • Calculators:
    Casio 9860 GII

Posted 24 January 2013 - 04:27 PM

I need to develop an addin where inputs from user should be taken in form of a box.

Calculate the values.

Store the results in spreadsheet like format,


Logic of my program to be created:

Input "Value A" - floating point value
Input "speed" S - floating point value
Input "minutes" M - a integer
Input "seconds" N - a intger
Time T = M + (N / 60)
Calculate distance d.
Distance D = (S * T) / 60
Total X = A+D
Print Result.

Sample Input:

A = 0.00 S = 30 M=1 N=60
Time T= 1+(60/60) = 1+1 = 2
Distance D = (30 * 2)/60 = 60/60 = 1.00
Total Z = A + 1.00

Output should be in

0.00 - 1.00 - 30.00 (speed)

Now Z becomes the start value A
Again it should ask for Speed and do the rest of the calculations.

Now the output should be

0.00 - 1.00
1.00 - Z (New value)
and so on and this to be in spreadsheet format.

Post your ideas

#2 Casimo

Casimo

    Casio Overlord

  • Members
  • PipPipPipPipPipPipPip
  • 641 posts
  • Gender:Not Telling

Posted 24 January 2013 - 04:33 PM

What about Syscall 0xCC4?

0x0CC4: int InputNumber( unsigned char *heading, int maxlen, int mode );
Displays a simple number input dialog.
heading is used as heading.
maxlen is the max. count of digits.
mode = 0: decimal; 1: hexadecimal
returns the number.

with mode = 0, hexadecimals A..F are allowed to input,
but when hitting EXE, a syntax error is displayed.




Also tagged with one or more of these keywords: casimo, flyingfisch

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users