Data update

This commit is contained in:
Ingy döt Net 2024-10-16 18:07:41 -07:00
parent 81fd053722
commit 52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions

View file

@ -0,0 +1 @@
=

View file

@ -0,0 +1,5 @@
# Set a mark
km
# ...
# Get mark line number
'm=

View file

@ -0,0 +1,22 @@
comment
The LOCATION statement (with its somewhat counter-
intuitive syntax) is used to obtain the address
of a variable. A variable may be placed at a
particular memory address by declaring it as BASED and
then positioning it at run-time using the BASE..AT
statement. Most often this is done to access the values
stored in operating system variables and structures,
though it has other uses as well.
end
var i, address_of_i = integer
based k = integer
location var address_of_i = i
print "The variable i is stored at "; hex$(address_of_i)
base k at address_of_i
i = 12345
print "i ="; i
print "k ="; k rem - same as i
end