Wolfram Cloud – functions, do iteration, if and lists


Fatal error: Uncaught Error: Call to a member function id() on array in /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', 'in: GCD[4,6];\r\n...') #3 /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('in: GCD[4,6];\r\n...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighl in /var/www/ohmyunix.com/variable.dk/wordpress/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36