Listing test
|
12-01-2019, 09:56 AM
Post: #1
|
|||
|
|||
Listing test
Test of display of 12C code (taken from this post)
Code:
Still a bit experimental - the tabs don't align. This comes from a spreadsheet that generates the display codes automatically - is that of any use to anybody? |
|||
12-01-2019, 10:47 AM
Post: #2
|
|||
|
|||
RE: Listing test
I think it would be useful.
I'm not sure the test forum is the best place to ask a question like this Pauli |
|||
12-01-2019, 11:51 AM
(This post was last modified: 12-01-2019 11:52 AM by BruceH.)
Post: #3
|
|||
|
|||
RE: Listing test
Thanks Paul. Still some more things to try out. Setting a fixed-width font might be better than the code tags - need to fix the padding though.
01- 35 CLx ... 40-43,33 17 g GTO 17 Ooops, it's not the padding it's the web page. Oh well. |
|||
12-01-2019, 11:57 AM
Post: #4
|
|||
|
|||
RE: Listing test
is a substitute for spaces on web pages and they are not squashed together.
Pauli |
|||
12-01-2019, 12:00 PM
Post: #5
|
|||
|
|||
RE: Listing test | |||
12-01-2019, 07:00 PM
Post: #6
|
|||
|
|||
RE: Listing test | |||
12-03-2019, 06:33 PM
Post: #7
|
|||
|
|||
RE: Listing test
(12-01-2019 11:57 AM)Paul Dale Wrote: is a substitute for spaces on web pages and they are not squashed together. Good point - I'd completely forgotten about that. Here goes... 01- 35 CLx 02- 44 0 STO 0 03- 45 1 RCL 1 04-43,33 39 g GTO 39 05- 33 R↓ ... Oh well. |
|||
12-03-2019, 06:36 PM
Post: #8
|
|||
|
|||
RE: Listing test
Doesn't work for code either.
Code: 01- 35 CLx Maybe there's a change to accepted HTML that the forum admins can make? |
|||
12-03-2019, 06:42 PM
Post: #9
|
|||
|
|||
RE: Listing test
Code tags don't compress multiple spaces into one space. It probably converts it into a <pre> HTML tag.
Code: test test test There are only 10 types of people in this world. Those who understand binary and those who don't. |
|||
12-04-2019, 12:51 AM
Post: #10
|
|||
|
|||
RE: Listing test
If you use a Windows computer, you can type a non-breaking space in any text by holding down the Alt key while you type 0160 on the numeric keypad. These spaces don't get combined by web browsers, as the following example illustrates.
| | one | | two | | three | | four | | five Tedious indeed, but ... it works, without the drawbacks of Code blocks. +-----+ | | | | +-----+ <0|ɸ|0> -Joe- |
|||
12-04-2019, 08:39 PM
Post: #11
|
|||
|
|||
RE: Listing test
(12-04-2019 12:51 AM)Joe Horn Wrote: If you use a Windows computer, you can type a non-breaking space in any text by holding down the Alt key while you type 0160 on the numeric keypad. These spaces don't get combined by web browsers, as the following example illustrates. Handy! If you have a 'compose' key, the sequence 'compose' 'space' 'space' often produces a non-breaking space. — Ian Abbott |
|||
12-05-2019, 12:30 AM
Post: #12
|
|||
|
|||
RE: Listing test
Trying Joe's technique.
01- 35 CLx 02- 44 0 STO 0 03- 45 1 RCL 1 04-43,33 39 g GTO 39 xeq formula 05- 33 R↓ 06- 44 4 STO 4 07- 1 1 08- 44 0 STO 0 09- 45 1 RCL 1 10- 45 1 RCL 1 11- 26 EEX 12- 5 5 13- 10 ÷ 14- 44 3 STO 3 15- 40 + 16-43,33 39 g GTO 39 xeq formula 17- 43 35 g x=0 18-43,33 37 g GTO 37 19- 45 0 RCL 0 20- 43 35 g x=0 21-43,33 05 g GTO 05 22- 33 R↓ 23- 45 4 RCL 4 24- 10 ÷ 25- 1 1 26- 30 - 27- 22 1/x 28- 45 3 RCL 3 29- 20 × 30-44 30 1 STO ‒ 1 31- 2 2 32- 21 y^x 33- 43 21 g √x 34- 45 2 RCL 2 35- 43 34 g x≤y X is less than or equal to Y 36-43,33 01 g GTO 01 37- 45 1 RCL 1 Answer 38- 31 R/S Formula goes here 40-43,33 17 g GTO 17 Need to specify a fixed-width font, and still a bit more to do if the comments are to align, but better. |
|||
12-07-2019, 12:18 PM
Post: #13
|
|||
|
|||
RE: Listing test
Pretty much all there now.
01- 35 CLx 02- 44 0 STO 0 03- 45 1 RCL 1 04-43,33 39 g GTO 39 xeq formula 05- 33 R↓ 06- 44 4 STO 4 07- 1 1 08- 44 0 STO 0 09- 45 1 RCL 1 10- 45 1 RCL 1 11- 26 EEX 12- 5 5 13- 10 ÷ 14- 44 3 STO 3 15- 40 + 16-43,33 39 g GTO 39 xeq formula 17- 43 35 g x=0 18-43,33 37 g GTO 37 19- 45 0 RCL 0 20- 43 35 g x=0 21-43,33 05 g GTO 05 22- 33 R↓ 23- 45 4 RCL 4 24- 10 ÷ 25- 1 1 26- 30 - 27- 22 1/x 28- 45 3 RCL 3 29- 20 × 30-44 30 1 STO ‒ 1 31- 2 2 32- 21 y^x 33- 43 21 g √x 34- 45 2 RCL 2 35- 43 34 g x≤y X is less than or equal to Y 36-43,33 01 g GTO 01 37- 45 1 RCL 1 Answer 38- 31 R/S Formula goes here 40-43,33 17 g GTO 17 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)