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
Getting Number Inputs Within Rectangle Box
Started by
Naga
, Jan 24 2013 04:27 PM
casimo flyingfisch
1 reply to this topic
#1
Posted 24 January 2013 - 04:27 PM
#2
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.
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
Programming →
Casio Basic →
A List Editor In Casio BasicStarted by Naga , 29 Aug 2013 Casimo, FlyingFisch |
|
|
||
Programming →
General Help →
Os ErrorStarted by Naga , 26 Jul 2012 cfxm, flyingfisch |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users