0 Members and 2 Guests are viewing this topic.
GetCalc("Str1")→AFor(B,0,255)B→{A+B}End
Code: [Select]GetCalc("Str1")→AFor(B,0,255)B→{A+B}End
For(A,0,20)Disp A>Char //or >Frac, whatever...End
Here is a program that fills Str0 with those characters.
BB 9A BB 9B BB 9C BB 9D BB 9E BB 9F BB A0 BB A1 BB A2 BB A3 BB A4 BB A5 BB A6 BB A7 BB A8 BB A9 BB AB BB AC BB AD BB AE BB CB BB CC 7F 80 81 BB D1 BB D2 BB D3 BB D4 BB D5 BB D6 BB D7 BB D8 BB D9 BB DA BB DB BB DC BB DD BB DE BB DF BB E0 BB E1 BB E2 BB E3 BB E4 BB E5 BB E6 BB E7 BB E8 BB E9 BB EA BB EB BB EC BB ED BB EE BB EF BB F0 BB F1 BB F2 BB F3 BB F4 BB F5 63 2B 29 BB CF 83 82 71 70 10 11 08 09 06 07 F0 2B BB 71 BB 73 BB 74 BB 75 BB 6F BB 70 BB 6E BB 72 BB 7A BB 7B BB 7C BB 76 BB 77 BB 78 BB 79 BB 7D BB 81 BB 84 BB 85 BB CD BB 80 BB 7F BB 83 BB 82 BB 8A BB 8C BB 86 BB 87 BB 88 BB 89 BB 8B BB 8D BB 91 BB 93 BB 95 BB 8F BB 90 BB 92 BB 94 BB 8E BB 98 BB 99 BB 96 BB 97
Edit: Here's the list of hex codes from the above BASIC program:
Data([sub]E[/sub]BB,[sub]E[/sub]F7)->GDB1Copy(GDB1,GetCalc("Str1",2),2)
Data([sub]E[/sub]F7[sup]r[/sup])->GDB1Copy(GDB1,GetCalc("Str1",2),2)
.AA[]->GDB1GetCalc("Str1",226)->A[BB9ABB9BBB9CBB9DBB9EBB9FBBA0BBA1BBA2BBA3BBA4BBA5BBA6BBA7BBA8BBA9BBABBBACBBADBBAEBBCBBBCC7F8081BBD1BBD2BBD3BBD4BBD5BBD6BBD7BBD8BBD9BBDABBDBBBDCBBDDBBDEBBDFBBE0BBE1BBE2BBE3BBE4BBE5BBE6BBE7BBE8BBE9BBEABBEBBBECBBEDBBEEBBEFBBF0BBF1BBF2BBF3BBF4BBF5632B29BBCF83827170101108090607F02BBB71BB73BB74BB75BB6FBB70BB6EBB72BB7ABB7BBB7CBB76BB77BB78BB79BB7DBB81BB84BB85BBCDBB80BB7FBB83BB82BB8ABB8CBB86BB87BB88BB89BB8BBB8DBB91BB93BB95BB8FBB90BB92BB94BB8EBB98BB99BB96BB97]Copy(GDB1+4,A,226)
Code: [Select]Copy(GDB+4,A,226)
Copy(GDB+4,A,226)
Great, it's working But why the "+4" at this line ?QuoteCode: [Select]Copy(GDB+4,A,226)
Code: [Select].AA[]->GDB1GetCalc("Str1",226)->A[BB9ABB9BBB9CBB9DBB9EBB9FBBA0BBA1BBA2BBA3BBA4BBA5BBA6BBA7BBA8BBA9BBABBBACBBADBBAEBBCBBBCC7F8081BBD1BBD2BBD3BBD4BBD5BBD6BBD7BBD8BBD9BBDABBDBBBDCBBDDBBDEBBDFBBE0BBE1BBE2BBE3BBE4BBE5BBE6BBE7BBE8BBE9BBEABBEBBBECBBEDBBEEBBEFBBF0BBF1BBF2BBF3BBF4BBF5632B29BBCF83827170101108090607F02BBB71BB73BB74BB75BB6FBB70BB6EBB72BB7ABB7BBB7CBB76BB77BB78BB79BB7DBB81BB84BB85BBCDBB80BB7FBB83BB82BB8ABB8CBB86BB87BB88BB89BB8BBB8DBB91BB93BB95BB8FBB90BB92BB94BB8EBB98BB99BB96BB97]Copy(GDB1+4,A,226)
Please, Hayleia, you disappointed me. The four bytes are the GetCalc-call Quote from: Hayleia on October 12, 2012, 12:28:48 pmCode: [Select].AA[]->GDB1GetCalc("Str1",226)->A[BB9ABB9BBB9CBB9DBB9EBB9FBBA0BBA1BBA2BBA3BBA4BBA5BBA6BBA7BBA8BBA9BBABBBACBBADBBAEBBCBBBCC7F8081BBD1BBD2BBD3BBD4BBD5BBD6BBD7BBD8BBD9BBDABBDBBBDCBBDDBBDEBBDFBBE0BBE1BBE2BBE3BBE4BBE5BBE6BBE7BBE8BBE9BBEABBEBBBECBBEDBBEEBBEFBBF0BBF1BBF2BBF3BBF4BBF5632B29BBCF83827170101108090607F02BBB71BB73BB74BB75BB6FBB70BB6EBB72BB7ABB7BBB7CBB76BB77BB78BB79BB7DBB81BB84BB85BBCDBB80BB7FBB83BB82BB8ABB8CBB86BB87BB88BB89BB8BBB8DBB91BB93BB95BB8FBB90BB92BB94BB8EBB98BB99BB96BB97]Copy(GDB1+4,A,226)Because GBD1 is in the program code, all your commands will be part of the memory. You have to put the []->GBD1 after the GetCalc!
Because GBD1 is in the program code, all your commands will be part of the memory. You have to put the []->GBD1 after the GetCalc, otherwise your data starts with "Getcalc" instead of that chunk of Hex!