### Author Topic: A test did not resolve true or false. What does this mean?  (Read 550 times)

0 Members and 1 Guest are viewing this topic.

#### Java

• LV1 Newcomer (Next: 20)
• Posts: 7
• Rating: +0/-0
##### A test did not resolve true or false. What does this mean?
« on: May 02, 2020, 06:14:24 pm »
Here’s my code...
Define whatsmyname()
Prgm
Disp “you’re “,name
RequestStr “would you like a name change?”,n
If yes Then
RequestStr “New name:”,name,0
Else
Text “ok, fair enough.”,0

Don’t judge me please. I’m new to programming and This is my first program.

#### Xeda112358

• they/them
• Moderator
• LV12 Extreme Poster (Next: 5000)
• Posts: 4647
• Rating: +717/-6
• Calc-u-lator, do doo doo do do do.
##### Re: A test did not resolve true or false. What does this mean?
« Reply #1 on: May 03, 2020, 10:25:45 am »
You need something like:
Code: [Select]
If n="yes" ThenBecause you are telling Request to store the input string to variable n.

Also, you can post code in [code]<your code here>[/code]

#### Java

• LV1 Newcomer (Next: 20)
• Posts: 7
• Rating: +0/-0
##### Re: A test did not resolve true or false. What does this mean?
« Reply #2 on: May 03, 2020, 10:50:36 am »
Thank you very much! 5 stars right here...
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.18636246025562286, "perplexity": 25796.17057609226}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2020-29/segments/1593657172545.84/warc/CC-MAIN-20200716153247-20200716183247-00538.warc.gz"}