The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
I think I am learing how to script (Sort of the realy basics) - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: I think I am learing how to script (Sort of the realy basics) (/showthread.php?tid=4645)

Pages: 1 2


RE: I think I am learing how to script (Sort of the realy basics) - toast - 05-15-2011

(05-14-2011, 10:55 PM)Qwertygiy Wrote: Because that works in this case, but it only works if count <= 10 when the loop starts.

It's easier when just beginning to do something that will always work than try to figure out which way to do it (especially when editing an existing, usually long, script).

just never ever tell people "while true do" before telling them what a while loop is

makes bad coding habits and they won't understand what
"while i<=10 do"
means


RE: I think I am learing how to script (Sort of the realy basics) - Fish - 05-15-2011

(05-15-2011, 01:27 AM)toast Wrote:
(05-14-2011, 10:55 PM)Qwertygiy Wrote: Because that works in this case, but it only works if count <= 10 when the loop starts.

It's easier when just beginning to do something that will always work than try to figure out which way to do it (especially when editing an existing, usually long, script).

just never ever tell people "while true do" before telling them what a while loop is

makes bad coding habits and they won't understand what
"while i<=10 do"
means


Remember when I said the REALY Basics? ;3



RE: I think I am learing how to script (Sort of the realy basics) - Qwertygiy - 05-15-2011

Yup. That's what I'm trying to say :3

You guys (and me, to some extent) are somewhat experts at coding. But when I first started, I was infuriated that there wasn't much good scripting help -- the R wiki was too complicated. I can understand it fine now, but when you start out you just need to know the basics before you get into details.