Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the Screen function
#2
maybe if you use mode = 0 not mode 32

hey it's 7;07 am what are you doing up so early ? lol

yeah ok change wwidth and hheight to screen 0 columns and rows
Code: (Select All)
'WWidth = 1120: WHeight = 820:
Mode = 0: Size = 24
Screen _NewImage(80, 30, Mode)
SetFont: f& = _LoadFont("C:\WINDOWS\fonts\courbd.ttf", Size, "monospace"): _Font f&

Locate 15, 40: Print "X"
p% = Screen(15, 40)
Print "screen(15,40) is"; p%: Sleep

' with lines 3 and 4 both in, an Illegal Function message is shown.
' with line 3 in, and line 4 out, the  char number is reported as 219.
' with line 4 in and  line 3 out, the expected code (88) is shown.

must be the banner inspiring this crap! lol
b = b + ...
Reply


Messages In This Thread
Using the Screen function - by PhilOfPerth - 04-05-2024, 11:04 AM
RE: Using the Screen function - by bplus - 04-05-2024, 11:08 AM
RE: Using the Screen function - by bplus - 04-05-2024, 11:13 AM
RE: Using the Screen function - by PhilOfPerth - 04-05-2024, 11:36 PM
RE: Using the Screen function - by bplus - 04-06-2024, 12:25 AM
RE: Using the Screen function - by SMcNeill - 04-06-2024, 12:50 AM
RE: Using the Screen function - by bplus - 04-06-2024, 01:17 AM
RE: Using the Screen function - by Pete - 04-06-2024, 01:19 AM
RE: Using the Screen function - by bplus - 04-06-2024, 01:20 AM
RE: Using the Screen function - by Pete - 04-06-2024, 01:25 AM
RE: Using the Screen function - by SMcNeill - 04-06-2024, 01:34 AM
RE: Using the Screen function - by Pete - 04-06-2024, 01:50 AM
RE: Using the Screen function - by bplus - 04-06-2024, 11:24 AM
RE: Using the Screen function - by PhilOfPerth - 04-06-2024, 12:17 PM
RE: Using the Screen function - by bplus - 04-06-2024, 12:52 PM
RE: Using the Screen function - by PhilOfPerth - 04-07-2024, 01:51 AM
RE: Using the Screen function - by bplus - 04-07-2024, 02:51 PM
RE: Using the Screen function - by Pete - 04-07-2024, 05:15 PM
RE: Using the Screen function - by bobalooie - 04-16-2024, 05:23 PM
RE: Using the Screen function - by eoredson - 04-15-2024, 04:09 AM



Users browsing this thread: 2 Guest(s)