Sqawk Code Automatically given when VFR spawning at Class C or B airport

When you’ve selected a VFR flight?
Certainly when I ask for an IFR clearance it does. I’m suggesting that they must do it for VFR, too.
But, I’ll test it again. They did say they were upgrading terminology, maybe it’s changed?

Edit: Yep, nope, if you’re VFR, no squawk code is provided. And there’s no way to get one, either, unless I file an IFR plan on the spot.