Post Reply 
iPhone Pro app produces unexpected results
03-25-2018, 10:18 PM
Post: #1
iPhone Pro app produces unexpected results
Testing on the Pro app for iPhone today, I ran into an issue that I was able to narrow down to the "head" command. Take for example this code:

Code:
EXPORT HEAD
BEGIN
  LOCAL vec:=[1,2,3,4],first;
  first:=head(vec);
  MSGBOX(first);
END;

On Windows, Android and real Calculator the result is as expected, a message box showing '1' is the result. On iPhone, the message box displays 'vec'.

Anyone have some insight as to what is going on here?
Visit this user's website Find all posts by this user
Quote this message in a reply
03-25-2018, 11:45 PM (This post was last modified: 03-25-2018 11:46 PM by Jacob Wall.)
Post: #2
RE: iPhone Pro app produces unexpected results
Similar problem with the tail command on iOS, during my testing it returned an empty list always.

I have implemented alternative methods for both head and tail but find it a strange issue that it's broken on one platform only, perhaps there are other commands also affected?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: