1 | sS ai_saySomethingAboutScreenSize() { |
2 | if (headless()) ret "We're headless."; |
3 | Dimension d = screenSize(); |
4 | ret "Your screen size is " + d.getWidth() + "*" + d.getHeight() + " pixels"; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016137 |
Snippet name: | ai_saySomethingAboutScreenSize |
Eternal ID of this version: | #1016137/1 |
Text MD5: | 05e0c3580f2d8609e52223adcc9c0340 |
Author: | stefan |
Category: | javax / os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-06 21:06:39 |
Source code size: | 193 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 427 |
Referenced in: | [show references] |