91
Technical support / Re:���Forum ���behavior���
« on: February 08, 2019, 12:13:33 PM »
Hi Gary,
It appears that the funny characters all appear in the TBASIC codes that you are showing in your post. Did you copy those directly off a custom function editor or were these exported to an external file and then copied from the external file?
I copied one of the fragment of codes you posted that was showing funny characters and pasted inside a TL6 custom function. I removed the funny characters and replaced them with TABs, then copy them back and paste them into this forum post as shown below:
' Custom function to print 0..99 on serial device #2
'
' This is the text that will be sent to the serial device:
'
'Â Â Â 00 01 02 03 04 05 06 07 08 09
'Â Â Â 10 11 12 13 14 15 16 17 18 19
'Â Â Â 20 21 22 23 24 25 26 27 28 29
'Â Â Â 30 31 32 33 34 35 36 37 38 39
'Â Â Â 40 41 42 43 44 45 46 47 48 49
'Â Â Â 50 51 52 53 54 55 56 57 58 59
'Â Â Â 60 61 62 63 64 65 66 67 68 69
'Â Â Â 70 71 72 73 74 75 76 77 78 79
'Â Â Â 80 81 82 83 84 85 86 87 88 89
'Â Â Â 90 91 92 93 94 95 96 97 98 99
'
print #2 "First Version"Â Â Â Â Â Â ' Debug Message
for i = 0 to 9Â Â Â Â Â Â Â Â Â ' outer loop for the 1s digits
   for j = 0 to 9      '   inner loop for the 10s digits
   print #2 i;j;" ";      ' print each number with 2 digits and a space
   next
   print #2            ' newline at the end of each group of 10 numbers
next
The funny characters are no longer there.
It appears that the funny characters all appear in the TBASIC codes that you are showing in your post. Did you copy those directly off a custom function editor or were these exported to an external file and then copied from the external file?
I copied one of the fragment of codes you posted that was showing funny characters and pasted inside a TL6 custom function. I removed the funny characters and replaced them with TABs, then copy them back and paste them into this forum post as shown below:
' Custom function to print 0..99 on serial device #2
'
' This is the text that will be sent to the serial device:
'
'Â Â Â 00 01 02 03 04 05 06 07 08 09
'Â Â Â 10 11 12 13 14 15 16 17 18 19
'Â Â Â 20 21 22 23 24 25 26 27 28 29
'Â Â Â 30 31 32 33 34 35 36 37 38 39
'Â Â Â 40 41 42 43 44 45 46 47 48 49
'Â Â Â 50 51 52 53 54 55 56 57 58 59
'Â Â Â 60 61 62 63 64 65 66 67 68 69
'Â Â Â 70 71 72 73 74 75 76 77 78 79
'Â Â Â 80 81 82 83 84 85 86 87 88 89
'Â Â Â 90 91 92 93 94 95 96 97 98 99
'
print #2 "First Version"Â Â Â Â Â Â ' Debug Message
for i = 0 to 9Â Â Â Â Â Â Â Â Â ' outer loop for the 1s digits
   for j = 0 to 9      '   inner loop for the 10s digits
   print #2 i;j;" ";      ' print each number with 2 digits and a space
   next
   print #2            ' newline at the end of each group of 10 numbers
next
The funny characters are no longer there.