Post Reply 
HP_PRIME PYTHON SYNTAX: HP_PPY
08-29-2020, 04:46 PM (This post was last modified: 08-29-2020 05:02 PM by toml_12953.)
Post: #35
RE: HP_PRIME PYTHON SYNTAX: HP_PPY
(11-13-2017 12:19 PM)compsystems Wrote:  
PHP Code:
#cas
def fra(X,Y,Nmax):
  
local x,y,z,c,j
  
for x in range(X):
    for 
y in range(Y):
      
0
      c 
2.7*x/X-2.1+i*(-1.87*y/Y+.935)
      for 
j in range(Nmax):
        if 
abs(z=z*z+c)>2:
          break
      
PIXON_P(x,y,255*20*j+256)
  
FREEZE
  WAIT
(0)
#end 

What is the equivalent code in Xcas language?

I've tried this program on the Prime simulator and it checks OK in the editor but I get "Ifte: Unable to check test Error: Bad Argument Value" when I try to run it. Does this really run on Prime?

Tom L
Cui bono?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP_PRIME PYTHON: HP_PPY - toml_12953 - 11-12-2017, 04:42 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 05:58 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:08 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 06:12 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:19 PM
RE: HP_PRIME PYTHON: HP_PPY - webmasterpdx - 11-12-2017, 06:21 PM
RE: HP_PRIME PYTHON: HP_PPY - Carlos295pz - 11-12-2017, 06:26 PM
RE: HP_PRIME PYTHON: HP_PPY - parisse - 11-12-2017, 07:35 PM



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