Euphoria
Ticket #880:
8.42.6.2 poke2
-
Reported by
James_at_Euphoria
Jul 23, 2013
SMALL ERROR IN MANUAL.
8.42.6.2 poke2
a = allocate(100) --. allocate 100 bytes in memory
-- poke one 2-byte value at a time:
poke2(a, 12345)
poke2(a+2, #FF00)
poke2(a+4, -12345)
-- poke 3 2-byte values at once:
poke4(a, {12345, #FF00, -12345})
I THINK LAST LINE IN EXAMPLE SHOULD BE poke2
-)
Details
1. Comment by SDPringle
Aug 03, 2013
- setting type to bug report
- accepting ticket
2. Comment by SDPringle
Aug 03, 2013
See: hg:euphoria/rev/054f0c70955f
changeset: 6140:054f0c70955f tag: tip user: Shawn Pringle <shawn.pringle@gmail.com> date: Sat Aug 03 11:09:41 2013 -0300 files: docs/release/4.0.6.txt include/std/machine.e description:
- added documentation fix for poke2
- fixes ticket 880
3. Comment by SDPringle
Aug 03, 2013
See: hg:euphoria/rev/d43210f6490c
changeset: 6143:d43210f6490c branch: 4.0 user: Shawn Pringle <shawn.pringle@gmail.com> date: Sat Aug 03 20:31:54 2013 -0300 files: docs/release/4.0.6.txt include/std/machine.e description:
- fixes documentation error involving poke2
- fixes ticket 880