Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<<print $var >> not working #39

Open
desplesda opened this issue Sep 18, 2019 · 3 comments
Open

<<print $var >> not working #39

desplesda opened this issue Sep 18, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@desplesda
Copy link
Collaborator

Issue by eporral1
Tuesday Oct 11, 2016 at 19:04 GMT
Originally opened as InfiniteAmmoInc/Yarn#39


Is it possible to print the content of a variable ?

@desplesda desplesda added the enhancement New feature or request label Sep 18, 2019
@desplesda
Copy link
Collaborator Author

Comment by charblar
Wednesday Jun 13, 2018 at 02:36 GMT


Not at this time, this may be possible in the near future when we port to electron and implement bondage.js however.

@desplesda
Copy link
Collaborator Author

Comment by blurymind
Wednesday Jun 13, 2018 at 13:31 GMT


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
InfiniteAmmoInc/Yarn#68

@blurymind
Copy link
Owner

We might soon be able to close this one :)
hylyh/bondage.js#73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants