HP Forums

Full Version: Problem with INPUT instruction on CAS Program
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
HELLO, resuming programming in prime, I can not initiate a data entry box, ¿why?

PHP Code:
#cas
  
p4_input_data()
  
begin    
    local a

    
input); 
    return 
a;
  
end;
#end 

OR

PHP Code:
#cas
  
p4_input_data()
  
BEGIN
    LOCAL a

    
INPUT); 
    RETURN(
a);
  
END;
#end 
Will this work for you:

PHP Code:
EXPORT temp()
begin
 local x
;
 
input(x);
 return 
x;
end;

#cas
p4_input_data():=
BEGIN
 local a
;
 
a:=temp()
 return(
a);
END;
#end 

-road
Reference URL's