Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
"WITH" keyword
#15
(10-19-2023, 07:17 PM)SpriggsySpriggs Wrote: Have there been any thoughts on making a "WITH" keyword for QB64 for assigning values to UDT members?

I would not be opposed to WITH, if and only if, the QB64PE IDE included a command to auto-fill in the explicit variable name in a selected code block. Because I personally don't like reading through code inside a WITH - it's easier for my brain to visualize what's happening by seeing the actual variable name. 

I like Steve's alias suggestion, as long as we don't go crazy with it, and start adding all kinds of complicated things (aliased types, etc.)

Just my own personal preference!
Reply


Messages In This Thread
"WITH" keyword - by SpriggsySpriggs - 10-19-2023, 07:17 PM
RE: "WITH" keyword - by Dimster - 10-20-2023, 12:48 PM
RE: "WITH" keyword - by mnrvovrfc - 10-20-2023, 01:01 PM
RE: "WITH" keyword - by SMcNeill - 10-20-2023, 01:47 PM
RE: "WITH" keyword - by SpriggsySpriggs - 10-20-2023, 02:32 PM
RE: "WITH" keyword - by RhoSigma - 10-20-2023, 04:18 PM
RE: "WITH" keyword - by SpriggsySpriggs - 10-20-2023, 04:55 PM
RE: "WITH" keyword - by mnrvovrfc - 10-20-2023, 09:24 PM
RE: "WITH" keyword - by SMcNeill - 10-20-2023, 05:25 PM
RE: "WITH" keyword - by bplus - 10-20-2023, 05:30 PM
RE: "WITH" keyword - by bplus - 10-20-2023, 05:32 PM
RE: "WITH" keyword - by SMcNeill - 10-20-2023, 05:41 PM
RE: "WITH" keyword - by bplus - 10-20-2023, 07:40 PM
RE: "WITH" keyword - by bplus - 10-20-2023, 07:41 PM
RE: "WITH" keyword - by madscijr - 10-26-2023, 09:24 PM
RE: "WITH" keyword - by James D Jarvis - 10-27-2023, 04:01 PM
RE: "WITH" keyword - by madscijr - 10-27-2023, 10:50 PM



Users browsing this thread: 2 Guest(s)