Post Reply 
INPUT command [allowed_types_matrix]
02-16-2018, 12:57 AM
Post: #1
INPUT command [allowed_types_matrix]
Hi Friends,

I need to create an INPUT with ONE field that accept REALS (0 type) and too FUNCTIONS (8 type) so I used [ 0 , 8 ] as [allowed_types_matrix] ... this field only accept REALS (0 type) AND WITH 'X+5' GIVES "Error : Invalid input"

I created the following program for example (with 2 fields to not leave the form and test many times):

PHP Code:
EXPORT INPUTTEST
BEGIN
LOCAL fx
a;
fx:='SIN(X)'a=0;
INPUT(
   {{
fx,[0,8],{44,54,1}},{a,[0],{44,54,2}}},
    
" INPUT TEST ",
   {
"F(X):""Real a :"},
   {
"Enter F(X), could be constant, example = 5 ""Enter a real value"},
   {
'SIN(X)'0})
END

Please Your help with any suggestion, thanks.

Best regards!!
josephec
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
INPUT command [allowed_types_matrix] - josephec - 02-16-2018 12:57 AM



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