Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 12:11 11 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM Edit V3.4.14

Author Message
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 03:06pm 20 Jun 2014
Copy link to clipboard 
Print this post

This update has a couple of features for the heavy user.

There is a new option in Preferences to change keywords to UPPERCASE etc.
This helps when you want to submit code to TBS and have it look 'nicer'
Whenever you save the file or do a 'load and run', all keywords are set as per the preferences.

Under Help, there is a Configuration report which should help me in debugging.
The Variable usage report now starts with a count of Subs and Functions.
(Peter: this is not in the update I sent you earlier)


Variable Report:

Functions: 2
Subroutines: 25
Total: 27

Variable Type Referred to in line:
InitBCDLib S 17 439
DivConst 19 21 97 267

etc

ToDo:
Update the help file

I will add a list of variables/functions which are only referenced in one line. That should include all unused subs/functions but you will have to manually check them. I am not game to automate that task.

I want to add a TCPIP server so that you can use TeraTerm etc by pointing it to LOCALHOST. That saves me worrying about getting VT100 commands working fully.

2014-06-21_010602_MMedit.zip

Jim
VK7JH
MMedit
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 03:31pm 20 Jun 2014
Copy link to clipboard 
Print this post

Hi Jim

New 3.4.14 downloaded and installed - thank you.

The new Variable Usage Report is certainly very useful and a huge step forward, but no substitute for a dialog box at download time warning of the problem, one slip-up/forgetful moment, and it's out with the wire jumper to do the reset !

Also it would be real nice if the report was sorted alphabetically by Var name if possible please :)

Also for Type, it would be nicer if ":" was replaced by "L" for label :)

Also what about adding a "Reference Count" column so that only referenced Once items would stand out more.

Finally, would it be possible to have clickable column headers (a la Excel) so that sorting of the report could be by any of the criteria ?

I know I'm asking a lot of you, sorry, but MMEdit is so good, I would like to see it become an IDE for MMBasic.

Many thanks

Peter




Functions: 2
Subroutines: 31
Total: 33

Variable Type Referred to in line:
InitBCDLib S 17 439
DivConst 19 21 97 267
LoadBCD S 21 30 88 970
CurFreq$ 24 25 30 171 344 347
Length 24 79 121 341 921 947
CurFreq 28 30 98 154 167 263
FQUD 33 247 247 310 320
SData 34 248 248 312 330 332
WCLK 35 249 249 311 335
DispLen 38 128
init 41
RA 44 45 49
RB 44 46 48 235
Din 48
INTH 49
RInt : 49 233
Value 53 144 145 237 237 240 240
LastValue 53 144 145
RawTWord 56 103 175 196 205 275
TWord 59 260
CurStepIndex 62 65 88 160 162
CurStepTW 68 88 92 176
StepHz 71 72 73 74 75 160 162
StepTWord$ 79 82 83 84 85 88
CompStepTW 91 94
CopyBCD S 92 97 98 1217
BCDA 92 97 154 167 175 189 196 198 205 263 282 452 475 503
547 548 548 551 551 575 575 576 580 581 581 600 601 601
604 604 605 605 633 657 724 734 877 934 1025 1025 1033
1033 1034 1038 1039 1039 1066 1080 1131 1157 1159 1234
Comp10sBCDA S 93 1021
CopyBCDA S 94 1230
BCDB 98 176 197 267 452 475 512 513 516 547 548 551 643 657
752 761 887 957 1170 1172 1247
MulAB2C S 100 271 618
CopyBCDC S 103 1256
ClrBCDA S 106 280 874 923
ClrBCDB S 107 884 949
ClrBCDC S 108 894
Main S 111 118
D$ 121 127 128 128 341 344 347 347 347 350 353
Change 125 144 148 159 181 216
DispFreq S 130 213 340
InitDDS S 133 245
L 151 218 620 650 673 683 683 1056 1076 1080 1110 1110
I 153 154 154 155 166 167 167 168 174 175 175 176 176 177
188 189 189 190 191 195 196 196 197 198 199 204 205 207
260 262 263 263 264 266 267 267 268 274 275 275 276 281
282 284 300 316 317 318 328 336 467 469 470 471 474 475
475 475 476 477 478 478 482 483 494 502 503 503 504 506
507 508 511 512 512 513 513 513 516 516 516 520 537 546
547 547 548 548 548 551 551 551 555 571 574 575 575 576
580 581 581 583 594 599 600 601 601 604 604 605 605 607
620 625 626 627 632 633 634 637 642 643 644 647 653 657
685 709 723 724 725 728 733 734 734 735 751 752 753 756
760 761 761 762 777 783 830 836 859 864 865 865 865 867
875 876 877 878 885 886 887 888 895 896 897 898 907 910
911 912 920 933 934 937 946 956 957 960 971 981 982 984
986 987 987 988 998 1002 1003 1005 1008 1022 1024 1025
1025 1027 1032 1033 1033 1034 1038 1039 1039 1041 1056
1058 1059 1060 1064 1066 1067 1070 1077 1080 1112 1128
1130 1131 1133 1136 1137 1138 1141 1153 1155 1157 1159
1161 1166 1168 1170 1172 1174 1179 1182 1184 1186 1188
1193 1197 1198 1198 1199 1202 1204 1206 1208 1218 1220
1221 1221 1222 1231 1233 1234 1234 1235 1244 1246 1247
1247 1248 1257 1259 1260 1260 1261
DecBCDA S 160 592
IncBCDA S 162 193 569
BCDA2Asc$ F 171 1126 1143
SubAB2C S 182 492
AddAB2C S 184 466
BCDC 189 190 275 282 308 317 452 470 475 476 477 478 478 483
503 507 512 513 513 516 516 626 674 674 675 676 677 677
865 897 1059 1080 1080 1083 1086 1087 1087 1088 1088
1091 1094 1095 1095 1096 1096 1099 1102 1103 1103 1104
1104 1115 1184 1186 1260
J 203 205 206 206 260 279 282 283 283 620 655 657 657 659
660 661 661 666 672 673 674 681 709 739 741 743 744 747
766 768 770 771 774 783 785 802 804 810 819 863 865 866
866 920 931 934 936 936 946 954 957 959 959 971 979 982
983 983 998
BCDA2Bin S 209 286 1054
SendDDSData S 211 290 298
DOUT 247 248 249
SetFreq S 250 259
Send8Bits S 317 324
Byte 324 327
B 325 327 329 334 334 972 982 987
NumDigits 439 441 441 447 906 908 908 910 970 974 974 986 1178 1180
1180 1182 1192 1195 1195 1197 1202 1217 1219 1219 1220
1230 1232 1232 1233 1243 1245 1245 1246 1256 1258 1258
1259
BCDSize 443 447 452 452 452
Cy 467 473 475 477 480 483 494 510 512 513 514 516 518 537
545 547 548 549 551 553 571 573 575 580 594 596 600 601
605 606 620 654 657 660 663 670 674 676 679 710 782 785
786 787 789 794 796 797 801 805 1022 1031 1033 1038 1056
1086 1088 1094 1096 1102 1104
SubAB2A S 535
Inc 569 573
Dec 592 596
K 620 651 673 674 674 675 676 677 677 709 784 785 785 786
787 787 788 789 795 796 796 797 798 798 799 802 804 805
810 811 811 811 812 813 813 814 819 820 820 821 839 840
840 840 841 842 842 843 846 847 848 851 854 855 855 856
M 620 630 634 653 709 722 725 731 733 740 743 744 747 747
777 920 932 933 946 955 956 971 980 981 998 999 1001
1003 1005
N 620 640 644 655 709 750 753 760 767 770 771 774 774 777
C1 623 657 659 660 661 661 674 716 796 797 798 798 805 811 820
DivAB2C S 707
D 709 791 796 827 830
Bw 710 809 811 812 817 838 840 841
A3 712 734 740 743 744 811 840 855
A3L 712 731 784 795 839 848 854
A4 713 785 786 787 787 789 796
A5 714 840 841 842 842 847 855
B3 715 761 767 770 771 785
C2 717 830 836 865 865 865
C2L 717 832 832 864
C3 718 811 812 813 813
Diff 719 820 840
ClrBCD S 906
Dest 906 911 970 987 1217 1221 1230 1234 1243 1247 1256 1260
LoadBCDA S 919
A$ 919 927 945 952 970 977 997 999 1005 1010 1128 1131 1132
1132
A2$ 921 927 932 934 947 952 955 957 972 977 980 982
LPad$ F 927 952 977 997 1005 1010
LoadBCDB S 945
ML 997 1001 1002 1002
Digits 1021 1024
T 1056 1062 1067 1076 1077
B$ 1128 1132 1132 1136 1137 1138 1138 1143
PrintBCDA S 1152
Mode 1152 1156 1165 1169 1178 1183 1192 1203
PrintBCDB S 1165
PrintBCDC S 1178
PrintBCD S 1192
Src 1192 1198 1217 1221
OutBCD 1193 1198 1204 1206
CopyBCDB S 1243

The only Konstant is Change
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6220
Posted: 03:54pm 20 Jun 2014
Copy link to clipboard 
Print this post

Peter,
  Quote  The new Variable Usage Report is certainly very useful and a huge step forward, but no substitute for a dialog box at download time warning of the problem, one slip-up/forgetful moment, and it's out with the wire jumper to do the reset !

Doable but it would have to be an option. Every extra check takes time and some of us are impatient.

  Quote  
Also for Type, it would be nicer if ":" was replaced by "L" for label :)

I was thinking of 'SUB', 'FUN', 'LAB'

  Quote  
Also what about adding a "Reference Count" column so that only referenced Once items would stand out more.

I will probably add them as a list just below the count report.

  Quote  
Finally, would it be possible to have clickable column headers (a la Excel) so that sorting of the report could be by any of the criteria ?


That might be doable in MMEdit2 but not easy for now.


It has been useful having your big files to test with.

Jim

VK7JH
MMedit
 
G8JCF

Guru

Joined: 15/05/2014
Location: United Kingdom
Posts: 676
Posted: 04:03pm 20 Jun 2014
Copy link to clipboard 
Print this post

SUB, FUN, LAB, and STR, NUM !!

Impatience leads to accidents !

Jim, I await your next release :)

Very many thanks, hope Saturday is going great down under (it's pretty grim up here, what with England crashing out !) my daughter (8) plays football, and her favoured strip is yellow Aussie (courtesy of her Aussie uncle). I know this is off-topic, but Oz
did pretty well IMHO.

73

Peter
The only Konstant is Change
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025