Post Reply 
cas program edition in 2D but with Word Wrap [Request]
02-18-2016, 04:53 PM (This post was last modified: 02-18-2016 05:03 PM by compsystems.)
Post: #1
cas program edition in 2D but with Word Wrap [Request]
sorry for my bad English

I have noticed that the CAS program editor displays the math expressions in pretty-print (2D), please enter the following code in the normal editor
[Shift] [1(Program)] then NEW, name prg1, CAS ☑

Code:
#cas
prg1(x,y):=
BEGIN
  a:=seq(x^2,x,1,3);
  return a;
   √(x^2+Y^2)/5;  
END;
#end

then
[Shift] [Tools(Mem)] the CAS vars, edit PRG1, EDIT

All the math expression are displayed in 2D =), but all the program is displayed on a single line =[

prg1(x,y)->BEGIN a:=seq(x²,x,1,3); RETURN(a); √x²+Y²; END;
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯5¯¯¯¯¯

my suggestion is to show the prg in full screen (with word wrap), otherwise it is very difficult to perform editing for line

replace every semicolon with new line


Good idea?
+1
Find all posts by this user
Quote this message in a reply
02-18-2016, 05:13 PM (This post was last modified: 02-18-2016 05:17 PM by compsystems.)
Post: #2
RE: cas program edition in 2D but with Word Wrap [Request]
Now, I remember, the calculators Texas Instruments serie TI-Nspire are the only calcs, that programs allow editing 2D (pretty print)

[Image: maxresdefault.jpg]

the hpprime is just a step, match and exceed this feature opponents

video editing programs 2D



Find all posts by this user
Quote this message in a reply
02-18-2016, 08:30 PM
Post: #3
RE: cas program edition in 2D but with Word Wrap [Request]
2D program source editing isn't a good feature though...

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
02-19-2016, 02:42 PM
Post: #4
RE: cas program edition in 2D but with Word Wrap [Request]
2D editing would be a nice feature for notes, but it is not a feature I would want for editing source code. Having mono fonts and fixed vertical spacing makes for more legible code. It also makes it easier to debug code. The last thing I want to deal with is whether a syntax error was due to mixing the denominator of a fraction with the rest of the code on the same line.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 




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