New topic: Extending an If...Then Between Lines
<http://forums.realsoftware.com/viewtopic.php?t=25504> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Jason_Adams Post subject: Extending an If...Then Between LinesPosted: Fri Dec 05, 2008 10:30 am Joined: Fri Nov 10, 2006 4:10 pm Posts: 305 I've extended an If...Then statement across a couple of lines using the "_" operator; for example, this would work: Code:If x = "" Or y = "" _ Or z = "" Then Return But this doesn't work, and I don't know why: Code:If x.Value(SomeKey).IsNull Or _ y.Value(SomeKey).IsNull Or _ z.Value(SomeKey).IsNull Then Return The latter returns a syntax error, and I figure the Or is probably being merged into the following line instead of spaced, but I'm not sure what I can do about this... Hmm. Thanks! _________________ Vista Home Premium RB Pro 2008r4.2 "Christianity has not been tried and found wanting; it has been found difficult and not tried." - G.K. Chesterton Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 900 classes with 18000 functions in one REALbasic plug-in. The Monkeybread Software Realbasic Plugin v8.1. <http://www.monkeybreadsoftware.de/realbasic/plugins.shtml> [email protected]
