Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extra Commas
#1
Just a little comma confusion on my part.

https://qb64phoenix.com/qb64wiki/index.php/MAPTRIANGLE

This is from example 3 - about the half-way point in the program:

Code: (Select All)
_MapTriangle (0, 0)-(255, 255)-(255, 0), TextureImage& To(xx3%, yy3%)-(xx1%, yy1%)-(xx4%, yy4%), , _Smooth

I'm not sure what the commas do at the end of the line. 


The same thing can be found in this example:

Code: (Select All)
Circle (400, 450), 10, _RGB32(100, 100, 100), , , .5


The only wording I've seen so far is on the circle wiki page which seems to suggest this is about "aspect".   I believe this changes the circle to an ellipse.   But no real mention of using 3 commas in a row as a plan of attack.   I'm starting to expect to see more inexplicable multiple commas as I read more program examples.
 
If anyone can explain this a bit more, please do.   Cheers!
Reply


Messages In This Thread
Extra Commas - by james2464 - 11-19-2022, 09:54 PM
RE: Extra Commas - by OldMoses - 11-19-2022, 10:14 PM
RE: Extra Commas - by CharlieJV - 11-19-2022, 10:21 PM
RE: Extra Commas - by CharlieJV - 11-19-2022, 10:19 PM
RE: Extra Commas - by james2464 - 11-19-2022, 10:32 PM
RE: Extra Commas - by OldMoses - 11-19-2022, 10:45 PM
RE: Extra Commas - by james2464 - 11-19-2022, 10:53 PM
RE: Extra Commas - by Pete - 11-20-2022, 06:31 AM



Users browsing this thread: 1 Guest(s)