Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
|
11-30-2005 09:07
I haven't really touched coding in years. in fact, the last time I touched a language before SL was QBasic if that's any kind of refference. my problem with the wiki is that it's not very useful when trying to search for things that are assumed to be standard. what I'm having trouble with is the grammar for these following QBASIC statements:
If X <=10 THEN ....
IF X <=10 AND Y <=10 THEN....
FOR I = 1 TO 10 IF I < 10 THEN... I=I+1
simply trying to seach for if statements in the wiki returns no results for me
|
JackBurton Faulkland
PorkChop Express
Join date: 3 Sep 2005
Posts: 478
|
11-30-2005 09:14
If (X <=10) { ....Do Whatever } if((X <=10)&&  Y <=10)) { ....Do Whatever } for (I = 1; I <= 10; I++) { ...Do whatever }
_____________________
You know what Jack Burton always says... what the hell?
|
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
|
11-30-2005 10:05
From: Senuka Harbinger simply trying to seach for if statements in the wiki returns no results for me are you using the correct wiki? secondlife.com/badgeo has a link for "if-else" under the "flow control" heading. I always use this page as my base of operations, and it serves me well. Also, once you have any badgeo wiki page loaded, you can change the wakka=XXXX in the url to quick-jump to anything you remember seeing before (auto-complete in the browser's address bar really helps here). For example - changing the address to http://secondlife.com/badgeo/wakka.php?wakka=if takes you to a page that, while not correct itself, directs you to the correct page. You should find yourself becoming aquainted with the way badgeo is laid out quite quickly. It starts making sense in an eery kinda way 
|
Luc Aubret
Oreo-eater
Join date: 14 Sep 2005
Posts: 86
|
11-30-2005 20:23
Keep in mind, also, that the wikki search engine is a little odd in the way it either parses or prioritizes. I've done lots of searches for basic flow controls and stuff and had nothing show up. It's better to familiarize yourself with the site's structure and click to where you want to go directly than it is to search.
|