Post Reply 
Possible problem with reset values (INPUT CMD)
03-06-2017, 12:21 PM (This post was last modified: 03-13-2017 10:46 PM by compsystems.)
Post: #1
Possible problem with reset values (INPUT CMD)
Hello

1: run testInputList ()
2: then press the backspace key [<-], appears in the first field {4}, which is the value of reset_values
3: then press OK, a (!) appears, Why?
4: now if you press [edit], then [ok] and then another [ok] already accept it

PHP Code:
export testInputList()
begin
  local a
bc;
  
local resetVAL_aresetVAL_bresetVAL_c;
  
local initVAL_ainitVAL_binitVAL_c;
  
initVAL_a := {1}; initVAL_b := {2}; initVAL_c := {3};
  
resetVAL_a := {4}; resetVAL_b := {}; resetVAL_c := {};
  
local ObjectType_List :=  6;
  
local ObjectType := ObjectType_List;
  
local title := "Type Allow: List {}";
  
local ok := true;
  
local cancel := false;
  
local keyPressedOnMenu := cancel;
  
keyPressedOnMenu := input
  
(
  {
  { 
a, [ ObjectType ] },
  { 
b, [ ObjectType ] },
  { 
c, [ ObjectType ] }
  },
  
title,
  { 
"label_a:""label_b:","label_c:" },
  { 
"help_a""help_b""help_c" },
  { 
resetVAL_aresetVAL_bresetVAL_c },
  { 
initVAL_ainitVAL_binitVAL_c }
  );
  if 
keyPressedOnMenu == ok then
    
return( { ab} );
  else
    return 
"Done";
  
end;
end
Find all posts by this user
Quote this message in a reply
03-13-2017, 10:48 PM
Post: #2
RE: Possible problem with reset values (INPUT CMD)
Resetting all the fields [shift],[clear], works well, this implies that there is a problem when resetting a single field
Find all posts by this user
Quote this message in a reply
03-14-2017, 02:11 AM
Post: #3
RE: Possible problem with reset values (INPUT CMD)
True, this should be fixed

Viga C | TD | FB
Visit this user's website Find all posts by this user
Quote this message in a reply
03-14-2017, 04:45 PM
Post: #4
RE: Possible problem with reset values (INPUT CMD)
A similar problem

HOME MODE
Z3: = 4 + 8 * i; [Enter]
[SHIFT]+[MEM] USER VARS
Z3 [EDIT] [OK] (!) ?

now
(4,8) [OK] I think that the input view should not be closed, a second [OK] returns to the list of variables
[EDIT] 4 + 8 * i;
[EDIT] [OK] (!) ?
Find all posts by this user
Quote this message in a reply
03-14-2017, 08:18 PM
Post: #5
RE: Possible problem with reset values (INPUT CMD)
(03-14-2017 04:45 PM)compsystems Wrote:  HOME MODE
Z3: = 4 + 8 * i; [Enter]
[SHIFT]+[MEM] USER VARS
Z3 [EDIT] [OK] (!) ?

now
(4,8) [OK] I think that the input view should not be closed, a second [OK] returns to the list of variables
[EDIT] 4 + 8 * i;
[EDIT] [OK] (!) ?

It is interesting that Ans in Memory Manager does accept editing of complex number (from 4+8*i to 4+9*i for example) but then Memory Manager shows Ans (Function) instead of Ans (Complex).

Geocaching Coords Solver, Number of triangles Puzzle, Snooker Counter
Find all posts by this user
Quote this message in a reply
Post Reply 




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