Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / A AGK Basic question

Author
Message
silentgator
7
Years of Service
User Offline
Joined: 1st Sep 2016
Location:
Posted: 1st Sep 2016 09:28
I am sorry this may sound like a stupid question but i looked over the documentation and i wasn't able to find a informative bit about this particular thing, which may have been my own fault if it is on there, but i am working on a Text based game in the AppGameKit basic language and i am wondering this:

So i want to use Quotations in my strings for use in dialogue, is this possible like and if so in what format examples: /" or \" etc, any help on this would be extremely gratifying.
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 1st Sep 2016 14:20
I don't know the proper way, but you can use 2x '
13/0
CodeMonkey
11
Years of Service
User Offline
Joined: 6th Mar 2013
Location: Ireland
Posted: 1st Sep 2016 17:40
You can use Chr(34) to add quotation marks to your strings. Although for a text based game it might be better to read in a text file.

Eg:
STRING$ + CHR(34)
www.skywaygame.com
www.facebook.com/skywaythegame
silentgator
7
Years of Service
User Offline
Joined: 1st Sep 2016
Location:
Posted: 2nd Sep 2016 02:53
Ahh yes chr() i keep forgetting about this, thank you so much.

Login to post a reply

Server time is: 2024-04-18 11:03:01
Your offset time is: 2024-04-18 11:03:01