Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Kleanthis Goozis — — source: Informix-list mailing list archive (1991-1998)
Yudong Sun wrote:
}
} Could anyone tell me how to use single quotes inside a string in code.
} I tried both two signle quotes in succession and one single
} quote inside a double-quoted string, but I got syntax error
} each time. Thanks.
}
} Yudong
Try an escape character:
e.g. DISPLAY "\\'This is a single quoted string\\'"
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.