Page 1 of 1

Posted: Mon Aug 05, 2002 9:58 am
by BackupUser
Restored from previous forum. Originally posted by teachco.

I'm looking for the esc-sequence in PureBasic to solve the following problem:

a$ = "text ?"text?" text"

Which are the correct characters instead of the ? to get no syntax problems?

Thanks.

Posted: Mon Aug 05, 2002 10:04 am
by BackupUser
Restored from previous forum. Originally posted by Pupil.
I'm looking for the esc-sequence in PureBasic to solve the following problem:

a$ = "text ?"text?" text"

Which are the correct characters instead of the ? to get no syntax problems?

Thanks.
To my knowledge there is no esc-sequence in PB so you have to settle for this instead:

Code: Select all

a$ = "text "+Chr(34)+"text"+Chr(34)+" text"

Posted: Mon Aug 05, 2002 10:21 am
by BackupUser
Restored from previous forum. Originally posted by teachco.

Thank you. It's working fine.