Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
strings [2019/08/02 21:58]
neils [Value assigment]
strings [2019/09/09 07:47] (current)
neils [Using buffers]
Line 84: Line 84:
   print a$   print a$
   ​   ​
-In the example above, ''​strbuffer!''​ is an array of 256 bytes. The ''​@''​ (address-of) operator returns the start address of the array and assigns it to ''​a$''​. Now ''​a$''​ points to a working space where your can store keyboard input.+In the example above, ''​strbuffer!''​ is an array of 256 bytes. The ''​@''​ (address-of) operator returns the start address of the array and assigns it to ''​a$''​. Now ''​a$''​ points to a working space where you can store keyboard input.
  
 To define a 40 characters long string and initialize it to empty (zero length), you can write the following code: To define a 40 characters long string and initialize it to empty (zero length), you can write the following code: