Color of a screen pixel: Difference between revisions

Content added Content deleted
(Color of a screen pixel en BASIC256)
Line 730: Line 730:
=={{header|J}}==
=={{header|J}}==


Note that the concept of "screen" has both hardware and operating system dependencies.
Assuming the OS is windows:

Assuming the OS is Windows (Windows being an operating system with fairly wide adoption, which also guarantees a specific concept of "screen"):


<lang J>GetDC=: 'user32.dll GetDC >i i'&cd NB. hdx: GetDC hwnd
<lang J>GetDC=: 'user32.dll GetDC >i i'&cd NB. hdx: GetDC hwnd