Can we get a #QUOTE$?
Can we get a #QUOTE$?
There is a contstant for double quotes but no for single. That's on my wishlist and should not take too long to make.
Re: Can we get a #QUOTE$?
Why? Can you not just type ' in your code directly? A constant for doublequote is needed due to not being able to type """ but this is not a problem for a single quote.
Because I think the first code is nicer than the second code:
And it's just a matter of completeness.
Code: Select all
s.s = #QUOTE$ + s + #QUOTE$
Code: Select all
s.s = "'" + s + "'"
Code: Select all
#QUOTE$ = Chr(39)
#QUOTE$ = "'"
Debug #QUOTE$
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
- Joakim Christiansen
- Addict
- Posts: 2452
- Joined: Wed Dec 22, 2004 4:12 pm
- Location: Norway
- Contact:
Me to, but if it makes Trond happy then why not...dracflamloc wrote:I really don't see a need for this. Just my opinion
A #NewLine would also be cool.

Code: Select all
#NewLine = Chr(13)+Chr(10)
MessageRequester("Test","Line 1"+#NewLine+"Line 2")
I like logic, hence I dislike humans but love computers.
Already Done:Joakim Christiansen wrote: A #NewLine would also be cool.![]()
Code: Select all
#NewLine = Chr(13)+Chr(10) MessageRequester("Test","Line 1"+#NewLine+"Line 2")
Code: Select all
#CRLF$
Constants for double quotes already exists:
Code: Select all
Debug #DOUBLEQUOTE$
Debug #DQUOTE$