[Pas2js] pas2js Webgl unit committed
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed May 9 12:43:29 CEST 2018
On Wed, 9 May 2018 16:34:35 +0700
Ryan Joseph <ryan at thealchemistguild.com> wrote:
>[...]
> 4) in functions from webgl that return strings the type is “JSValue”. How do those work with “string” in Pascal now? Maybe just typecast to string?
Yes.
Keep in mind that JS allows to convert almost anything to a
string.
You can use function isString from unit js to find out if a jsvalue is a
string.
Mattias
More information about the Pas2js
mailing list