144
you are viewing a single comment's thread
view the rest of the comments
[-] Oinks@lemmy.blahaj.zone 23 points 3 weeks ago* (last edited 3 weeks ago)

I am very sorry to remind everyone about the existence of Visual Basic, but it has:

  • VbCrLf
  • VbNewLine
  • ControlChars.CrLf
  • ControlChars.NewLine
  • Environment.NewLine
  • Chr(13) & Chr(10)

And I know what you're asking: Yes, of course all of them have subtly different behavior, and some of them only work in VB.NET and not in classic VB or VBA.

The only thing you can rely on is that "\r\n" doesn't work.

[-] MTK@lemmy.world 4 points 3 weeks ago

Apology not accepted, fuck you for reminding me!

[-] jdeath@lemm.ee 3 points 3 weeks ago

great reminder to avoid microsoft products as much as i can

this post was submitted on 05 Apr 2025
144 points (87.9% liked)

Programmer Humor

22837 readers
378 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS