Im having problems with the sourcecoder editor.
i want to export this text to .8XP file format but it keeps finding 10 problems

i dont know whats wrong...

heres the code if you want to try it:


Code:
::"Ellipse Equ. v1.3
:ClrHome
:Disp "ax²+bx+cy²+dy+e="," "
:Input "a: ",A
:Input "b: ",B
:Input "c: ",C
:Input "d: ",D
:Input "e: ",E
:ClrHome
:B/A→F
:F/2→F
:F→L
:F²→H
:D/C→G
:G/2→G
:G→M
:G²→I
:‾E→E
:E+AH+CI→E
:If F>0
:Then
:‾F→J
:"+"→Str2
:End
:If F<0
:Then
:‾F→J
:‾F→F
:"-"→Str2
:End
:If G>0
:Then
:"+"→Str3
:‾G→K
:End
:If G<0
:Then
:"-"→Str3
:‾G→K
:‾G→G
:End
:If(E/A)>(E/C)
:Then
:(E/A)-(E/C)→θ
:√(θ)→θ
:(J+θ)→R
:(J-θ)→P
:K→S
:K→Q
:End
:If (E/A)<(E/C)
:Then
:(E/C)-(E/A)→θ
:√(θ)→θ
:J→R
:J→P
:(K+θ)→S
:(K+θ)→Q
:End
:ClrDraw
:AxesOff
:GridOff
:LabelOff
:FnOff
:ZStandard
:Text(1,3,"Ellipse    equation
:Horizontal 7.42
:Vertical 10
:Vertical ‾10
:Horizontal 10
:Horizontal ‾10
:Text(10,2," ",A,"(x",Str2,F,")²"
:Line(‾9.57,4.52,‾2.13,4.52)
:Text(18,17,E
:Text(14,39,"+
:Line(‾.85,4.52,6.38,4.52
:Text(10,43," ",C,"y",Str3,G,")²"
:Text(18,58,E
:Text(14,79,"=1
:Horizontal 1.61
:Text(27,3,"Center: (",J,",",K,")"
:If (E/A)>(E/C)
:Then
:Text(34,3,"Major: √(",E,"/",A,").........X-Axis"
:Text(41,3,"Minor: √(",E,"/",C,")..........Y-Axis"
:End
:If (E/C)>(E/A)
:Then
:Text(34,3,"Major: √(",E,"/",C,").........Y-Axis"
:Text(41,3,"Minor: √(",E,"/",A,")..........X-Axis"
:End
:If (E/C)=(E/A)
:Then
:Text(34,3,"Major: √(",E,"/",A,")...Circle"
:Text(41,3,"Minor: √(",E,"/",C,")....Circle"
:End
:Text(48,3,"f1: (",P,",",Q,")"
:Text(55,3,"f2: (",R,",",S,")"
:Pause
:DelvarStr2
:DelvarStr3
:DelvarStr4
:ClrDraw
:CoordOn
:AxesOn
:ZStandard
:ClrHome
:Output(3,5,"Created"
:Output(4,8,"By"
:Output(5,1,"Clement Poisson
:Output(6,5,(c)2007
:Return
Can you link to an XPI, please? Save it to your projects, permission it to all view, all edit, then edit it and post the link it produces here.
http://www.cemetech.net/projects/basicelite/sourcecoder2.php?xpi=ff86d6bd31f10cc89493fcd9a99363fe
now that i posted it, i could save it as .8xp
Everything is under order. I have submitted the file into the math archives. (i sure hope its accepted)
I think I see what the problem was, by the way. I think it was something in this line:
:Disp "ax²+bx+cy²+dy+e="," "
hmm...oh well..what if i put output(1,1,"blah instead of Disp?
The line appears valid, though.... (or am I missing something here?)
Well, if you click his XPI link, the squared symbols are all omitted from that apparently tokenizable code. Makes me think I'm missing a Unicode conversion.
KermMartian wrote:
Well, if you click his XPI link, the squared symbols are all omitted from that apparently tokenizable code. Makes me think I'm missing a Unicode conversion.


so that means somethings wrong right? did the file that i atttempted to upload in archives work?
No, it means I have a slight inconsistency in SC2 that I'll have to take a look at.
ok. i get it. well have fun fixing that...
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement