PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

String terminators

I haven't had much of a chance to play with ppl yet, but one thing that sticks out is the strings. They are surrounded by { and }?

What is wrong with "string" or 'string'? I already have to switch between those 2 choices depending on which language I am using, adding a 3rd just makes things much harder.

Regards

Sean
Don't worry, PPL supports " " as well. { } allows for multiple levels and any character can be included inside the { } delimiters.

Ex:
Code:
{This is a "string"!
It can contain multiple lines {and other delimiters too} }

"This is another string"


The ' ' are for character values, just like C.
Code:
i$ = 'A' + 10;


Regards,
Kornalius
Cool, I can sleep easy

Sean