Post Reply 
input issues
01-27-2021, 01:59 PM (This post was last modified: 01-27-2021 02:01 PM by Didier Lachieze.)
Post: #18
RE: input issues
(01-27-2021 11:45 AM)Amer7 Wrote:  How do I enable an angle value in Deg, min, sec to be inputted into a program?
When I use ;
Code:
LOCAL a,d,sa,sd;
INPUT({a,d,sa,sd},"Input test", {"Directional angle","lenght A-B","S ugla(sec)","s lenght"});
It doesnt let me input the angle, if I press a b/c to inport the angle as a fraction I get Bad argument type.

To enter an angle value in Deg, min, sec you need to press [Shift] [a b/c] after each value, for example to enter 25 deg 46 min 7 sec press:
25 [Shift][a b/c] 46 [Shift][a b/c] 7 [Shift][a b/c]
and you'll get: 25°46′7″

(01-27-2021 11:45 AM)Amer7 Wrote:  Also I'm having an issue printing Matrices row by row for easier viewing.

Lets supose my matrix is 2x2 = B
PRINT (B(1)); - should print first row
PRINT (B(2)); - should print second row but i get a Sytax eror.

You cannot use B or C as global matrix variables, these are defined as global real variables as you can check with Vars>Home>Reals.
If you want a global matrix variable you can use M0...M9 (available in Vars>Home>Matrix), or you can use a local variable such as the Cx variable in your program.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
input issues - Amer7 - 01-25-2021, 02:07 PM
RE: input issues - Didier Lachieze - 01-25-2021, 02:38 PM
RE: input issues - Amer7 - 01-25-2021, 03:13 PM
RE: input issues - rprosperi - 01-25-2021, 03:47 PM
RE: input issues - Amer7 - 01-25-2021, 03:53 PM
RE: input issues - Didier Lachieze - 01-25-2021, 04:03 PM
RE: input issues - Amer7 - 01-25-2021, 04:38 PM
RE: input issues - Didier Lachieze - 01-25-2021, 05:00 PM
RE: input issues - Amer7 - 01-25-2021, 06:25 PM
RE: input issues - C.Ret - 01-25-2021, 07:13 PM
RE: input issues - Didier Lachieze - 01-25-2021, 07:32 PM
RE: input issues - Amer7 - 01-25-2021, 07:42 PM
RE: input issues - toml_12953 - 01-26-2021, 04:34 PM
RE: input issues - C.Ret - 01-25-2021, 07:36 PM
RE: input issues - Amer7 - 01-25-2021, 08:00 PM
RE: input issues - Amer7 - 01-26-2021, 03:01 PM
RE: input issues - Amer7 - 01-27-2021, 11:45 AM
RE: input issues - Didier Lachieze - 01-27-2021 01:59 PM



User(s) browsing this thread: 4 Guest(s)