Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Random number Captivate 2017

New Here ,
Jun 05, 2017 Jun 05, 2017

Hello,

 I am preparing some exercises based on sequences of numbers, scope of each exercise is to understand the missing value in a shown sequence:

f.i.:   5   10    20     ---     80  (missing 40; multiply previous time 2)

 If I can have use of variables, based on a random number generation, I can have "infinite" number of examples to show.

How can it be implemented in Captivate 2017?

Do you have any tutorial on random generated variables?

 

Thank you

Best regards.

926
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 05, 2017 Jun 05, 2017

I don't know if this is what you are looking for. On my blog I have a couple of articles about use cases with random numbers:

Playing with Numbers - part 1 - Captivate blog

Playing with Numbers - part 2 - Captivate blog

Playing a dice game, using While loop - Captivate blog

First two posts were created with CP9, but AFAIK the API for JS has not changed in CP2017. A full explanation of the used JS functions is in those first 2 posts.

Translate
Community Expert ,
Jun 05, 2017 Jun 05, 2017

I don't know if this is what you are looking for. On my blog I have a couple of articles about use cases with random numbers:

Playing with Numbers - part 1 - Captivate blog

Playing with Numbers - part 2 - Captivate blog

Playing a dice game, using While loop - Captivate blog

First two posts were created with CP9, but AFAIK the API for JS has not changed in CP2017. A full explanation of the used JS functions is in those first 2 posts.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2017 Jun 08, 2017

Dear Lieve, thank you for your prompt and really usefull answer.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 08, 2017 Jun 08, 2017
LATEST

You're welcome!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources