Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible that?
#15
This thread of discussion kind of veered away from the OP a bit, eh?

(02-14-2024, 02:39 PM)gaslouk Wrote:
(02-14-2024, 02:17 PM)gaslouk Wrote: SCREEN 13
COLOR 6 * 2 + 3, 0 - 5 + 8 * 2 - 11
CLS
FOR I = 0 TO 70 STEP 0.1
    PSET (I * COS(I) + 140, 20 - I * (SIN(I) * 0.2 - 2))
NEXT
LINE (136, 20)-(140, 12)
LINE -(144, 20): LINE -(134, 16)
LINE -(146, 16): LINE -(136, 20)
A$ = INPUT$(1)

Is this really possible?

(02-14-2024, 02:36 PM)bplus Wrote: Not this?
Code: (Select All)
Screen 13
Color 2
PSet (140 + Cos(0), 20)
For I = 0 To 70 Step 0.1
    Line -(I * Cos(I) + 140, 20 - I * (Sin(I) * 0.2 - 2))
Next
Color 14
Line (136, 20)-(140, 12)
Line -(144, 20): Line -(134, 16)
Line -(146, 16): Line -(136, 20)
A$ = Input$(1)

Big Grin

I mean this

COLOR 6 * 2 + 3, 0 - 5 + 8 * 2 - 11 

How this is really possible.

The parameters of the COLOR statement, expressions are allowed.  

I don't know what BASIC dialects/implementations allow only literal values and which allow expressions.
Reply


Messages In This Thread
Is it possible that? - by gaslouk - 02-14-2024, 02:17 PM
RE: It is possible that? - by bplus - 02-14-2024, 02:36 PM
RE: It is possible that? - by gaslouk - 02-14-2024, 02:39 PM
RE: Is it possible that? - by bplus - 02-14-2024, 04:13 PM
RE: Is it possible that? - by SpriggsySpriggs - 02-14-2024, 04:16 PM
RE: Is it possible that? - by gaslouk - 02-14-2024, 06:52 PM
RE: Is it possible that? - by TerryRitchie - 02-14-2024, 09:59 PM
RE: Is it possible that? - by Pete - 02-15-2024, 05:39 AM
RE: Is it possible that? - by Kernelpanic - 02-16-2024, 09:37 PM
RE: Is it possible that? - by vince - 02-16-2024, 04:57 PM
RE: Is it possible that? - by bplus - 02-17-2024, 02:35 AM
RE: Is it possible that? - by Abazek - 02-17-2024, 11:21 AM
RE: Is it possible that? - by bplus - 02-17-2024, 02:48 PM
RE: Is it possible that? - by dbox - 02-17-2024, 04:08 PM
RE: Is it possible that? - by CharlieJV - 02-17-2024, 04:30 PM
RE: Is it possible that? - by bplus - 02-17-2024, 05:12 PM



Users browsing this thread: 3 Guest(s)