Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Pseudocode help: using the word Set?

I get we can do something like:

Set num1 = num2 + num3

Can we use Set to set something equal to a string/word?

For example:

Set newColor = purple

Is this not allowed?

1 Answer

Relevance
  • 7 years ago

    Sure, why not...it's pseudocode, so as long as it's clear your assigning a variable a value, that should be fine...though it's probably not needed.

Still have questions? Get your answers by asking now.