Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/String-length/ALGOL-68/string-length-1.alg
Normal file
7
Task/String-length/ALGOL-68/string-length-1.alg
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
BITS bits := bits pack((TRUE, TRUE, FALSE, FALSE)); # packed array of BOOL #
|
||||
BYTES bytes := bytes pack("Hello, world"); # packed array of CHAR #
|
||||
print((
|
||||
"BITS and BYTES are fixed width:", new line,
|
||||
"bits width:", bits width, ", max bits: ", max bits, ", bits:", bits, new line,
|
||||
"bytes width: ",bytes width, ", UPB:",UPB STRING(bytes), ", string:", STRING(bytes),"!", new line
|
||||
))
|
||||
Loading…
Add table
Add a link
Reference in a new issue