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 command #3

Open
SK1Y101 opened this issue Jul 5, 2021 · 2 comments
Open

Print command #3

SK1Y101 opened this issue Jul 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@SK1Y101
Copy link
Member

SK1Y101 commented Jul 5, 2021

Some languages use print(), others use printf()

I think the keyword show shuld come bfore anything that is to be printed to the screen.

ie, instead of print("hello world"), we use show hello world

Multiple keywords can be used, not just show, of course

@SK1Y101 SK1Y101 added the enhancement New feature or request label Jul 5, 2021
@SK1Y101 SK1Y101 added this to the Full Language Syntax milestone Jul 5, 2021
@SK1Y101 SK1Y101 mentioned this issue Jul 5, 2021
14 tasks
@SK1Y101
Copy link
Member Author

SK1Y101 commented Jul 6, 2021

when using show, any variable names are automatically converted to their values:

if the variable "x" was 10, then show x would show "10" on the screen

However, using the variable name in quotation marks would force it to show as is:
show x would print "x" on the screen.

@SK1Y101
Copy link
Member Author

SK1Y101 commented Jul 8, 2021

additional variants of the keyword could include display

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

1 participant