Post Reply 
bugs still exists in r10637!
10-08-2016, 05:19 PM
Post: #1
bugs still exists in r10637!
Hello,

I have found some bugs in the ver. r10637.1.the calculator crashed when there is a sentence which quits the iferr...then structure, for example:
EXPORT restart()
BEGIN
IFERR RETURN; THEN END;
END;
this restart function works quite well in the new firmware.

2.programming in the cas
When there is a mistake in an cas program and you check it ,the calculator will jump to the wrong position.

3.when I plot a function in cas and give the result to a graphic object, the calculator will go down immediately, for example:
-plotfunc(sin(x),x)
-G1:=Ans
then it crashed.

I also have some questions as below:
1.When I look up for the help of the function 'STRING', there are many optional parameters like bold and italic, but when I tried it, it didn't work on either 'TEXTOUT' or 'PRINT', so how should I use the function 'STRING' if I want a bold text?
2.I found that the effect of alpha of colors changed when every firmware version is published. However, to the latest version, the effect of alpha seems to be wrong when it ranges both from 0x01 to 0x08 and from 0xf9 to 0xfe. Is this normal?
3.When the function 'BLIT' or 'SUBGROB' is used, it doesn't copy the right and down edge of the area, while 'RECT' does.
4.Sometimes when I use 'RECT' with alpha such as 'RECT_P(0,0,100,100,#80FF8000h);', the result gets out of expectation. RECT sometimes fills somewhere out of the area specified. Is it because my usage is wrong?

I hope the bugs will be fixed soon!
Find all posts by this user
Quote this message in a reply
10-10-2016, 03:08 PM (This post was last modified: 10-10-2016 06:03 PM by Tim Wessman.)
Post: #2
RE: bugs still exists in r10637!
(10-08-2016 05:19 PM)wangchong01 Wrote:  3.when I plot a function in cas and give the result to a graphic object, the calculator will go down immediately, for example:
-plotfunc(sin(x),x)
-G1:=Ans
then it crashed.

I'm not able to see this anywhere. How are you running it? I just get an error string back and nothing happens.


Quote:1.When I look up for the help of the function 'STRING', there are many optional parameters like bold and italic, but when I tried it, it didn't work on either 'TEXTOUT' or 'PRINT', so how should I use the function 'STRING' if I want a bold text?

String is purely for generating a printed string, and *sizing* the space that would take with specific settings. You would then use TEXTOUT to do the actual drawing. Unless you are very carefully trying to have it autofit the size to a specific area, that would not be needed.

Quote: 2.I found that the effect of alpha of colors changed when every firmware version is published. However, to the latest version, the effect of alpha seems to be wrong when it ranges both from 0x01 to 0x08 and from 0xf9 to 0xfe. Is this normal?

There was still a remaining issue not corrected, but can you please give an example of each range you believe is incorrect so I can tell you if it is working like it should?


Quote: 3.When the function 'BLIT' or 'SUBGROB' is used, it doesn't copy the right and down edge of the area, while 'RECT' does.

That is correct. It is very common in many programming languages that a rect command draws UP to the last pixel specified, but not including it while a blit/sub operation is inclusive.

Quote: 4.Sometimes when I use 'RECT' with alpha such as 'RECT_P(0,0,100,100,#80FF8000h);', the result gets out of expectation. RECT sometimes fills somewhere out of the area specified. Is it because my usage is wrong?

Can you provide a picture or further example? I am not sure I understand what you mean here.

I hope the bugs will be fixed soon!
[/quote]

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
06-05-2017, 05:07 AM (This post was last modified: 06-05-2017 05:09 AM by wangchong01.)
Post: #3
RE: bugs still exists in r10637!
sorry that i didn't reply to you for that long,the example for the alphamix is in the picture attached.the alpha changed from 0 to 255 and the effect changed like this.The other bugs seem not to appear for a long time.


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
06-05-2017, 05:41 PM
Post: #4
RE: bugs still exists in r10637!
Can you please post your code to make this image. Thank you!

TW

Although I work for the HP calculator group, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
06-07-2017, 04:16 AM
Post: #5
RE: bugs still exists in r10637!
Code:
EXPORT QQQQ()
BEGIN
 local i;
 for i from 0 to 319 do
  rect_p(i,0,i,239,#FF0000h+floor(i/320*256)*#1000000h);
 end;
 freeze;
END;
Find all posts by this user
Quote this message in a reply
Post Reply 




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