programs in physical hardware fail
07-01-2014, 11:58 AM
Post: #2
 Angus Member Posts: 212 Joined: Feb 2014
RE: programs in physical hardware fail
I can give you an example of some short code that does give a syntax error in lnie 5 e.g. when transferred to the physical calculator.

Code:
 //SUBROUTINES EXPORT FIRCORE(N) BEGIN   LOCAL CORE:=seq(0,N);   FOR I FROM 0 TO N-1 DO     CORE(I+1):=(12*I-6*(N-1))/(N*(N²-1));   END;   RETURN CORE;  END; EXPORT FIR(V,C) BEGIN   LOCAL N;   LOCAL RES:=0;   LOCAL LEN:=DIM(C);   FOR N FROM 1 TO LEN(1) DO    RES := RES+V(N)*C(N);   END;   RETURN RES; END;

If someone can point out what is wrong I would be glad. But I have NO idea why on the emulator there are no problems at all.

I would kindly ask to look at these things! Essential for any usage I think.

btw there seem to be issues with the con-kit. I restarted everything and was able to drag the program into the prime w/o having a blank program as a result.
 « Next Oldest | Next Newest »

 Messages In This Thread programs in physical hardware fail - Angus - 07-01-2014, 11:46 AM RE: programs in physical hardware fail - Angus - 07-01-2014 11:58 AM RE: programs in physical hardware fail - eried - 07-01-2014, 12:05 PM RE: programs in physical hardware fail - Angus - 07-01-2014, 12:08 PM RE: programs in physical hardware fail - Jsather - 07-01-2014, 08:00 PM RE: programs in physical hardware fail - Angus - 07-01-2014, 08:34 PM RE: programs in physical hardware fail - Angus - 07-02-2014, 05:42 AM RE: programs in physical hardware fail - cyrille de brébisson - 07-02-2014, 06:12 AM RE: programs in physical hardware fail - Angus - 07-02-2014, 06:13 AM

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