140
you are viewing a single comment's thread
view the rest of the comments
[-] Oinks@lemmy.blahaj.zone 23 points 2 days ago* (last edited 2 days 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 1 day ago

Apology not accepted, fuck you for reminding me!

[-] jdeath@lemm.ee 3 points 1 day ago

great reminder to avoid microsoft products as much as i can

this post was submitted on 05 Apr 2025
140 points (88.0% liked)

Programmer Humor

22250 readers
191 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