Yarn
Yarn copied to clipboard
<<print $var >> not working
Is it possible to print the content of a variable ?
Not at this time, this may be possible in the near future when we port to electron and implement bondage.js however.
Yes, I can potentially add this
I wrote some code for bondage.js to be able retrieve the contents of <<>> as a string, while the story is parsed. This has not been merged yet, but if it does- It will enable me to add it to yarn's electron port's new tester :)
To print variables, I think we need to add a new command to bondage.js or get access to the variables. I havent looked into that yet.
Not sure if it should be done via <<print $var>>
or just add a debugger pannel that shows all variables to the story tester here
https://github.com/InfiniteAmmoInc/Yarn/pull/68