Post Reply 
2021: INPUT for CAS Mode
05-01-2021, 06:22 PM (This post was last modified: 05-09-2021 10:08 PM by compsystems.)
Post: #1
2021: INPUT for CAS Mode
Hello, INPUT cms does not work in CAS MODE, the following code although it is for home mode, it can be executed in CAS mode

try to test input_(x) then type '987' in single quotes, in the end the input variable is not stored in memory = (any way to do it?

PHP Code:
export input_(var)
begin
    local ok
;
    
ok:=input(eval(var));
    if 
ok then
        
print( var );
        print( eval(var));
        return eval(var);
    
end;
end
Find all posts by this user
Quote this message in a reply
05-01-2021, 08:47 PM
Post: #2
RE: INPUT for CAS Mode
(05-01-2021 06:22 PM)compsystems Wrote:  Hello, INPUT cms does not work in CAS MODE, the following code although it is for home mode, it can be executed in CAS mode

try to test input_(x) then type '987' in single quotes, in the end the input variable is not stored in memory = (any way to do it?

PHP Code:
export input_(var)
begin
    local ok
;
    
ok:=input(eval(var));
    if 
ok then
    
print( var );
    print( eval(var));
    return eval(var);
end

Where's the end of the if?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
05-02-2021, 05:07 AM
Post: #3
RE: INPUT for CAS Mode
updated code.
Find all posts by this user
Quote this message in a reply
Post Reply 




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