Mirage Source
http://web.miragesource.net/forums/

Next without for compile error.......
http://web.miragesource.net/forums/viewtopic.php?f=201&t=2333
Page 1 of 2

Author:  genusis [ Mon Jul 23, 2007 12:17 pm ]
Post subject:  Next without for compile error.......

this is pissing me off. is there a fix for this code at all because the next at the end keep saying next without for and when i take them out i have to keep adding end if to the end of the sub but it never stops weird.

Code:
' //////////////////////////////////////
                ' // This is used for spawning an NPC //
                ' //////////////////////////////////////
                ' Check if we are supposed to spawn an npc or not
                If MapNpc(y, x).Num = 0 And Map(y).Npc(x) > 0 Then
                    If TickCount > MapNpc(y, x).SpawnWait + (Npc(Map(y).Npc(x)).SpawnSecs * 1000) Then
                        Call SpawnNpc(x, y)
                    End If
                End If
            Next x
        End If
        DoEvents
    Next y



this is the part causing the problems

Code:
Next x


thank you for your help.

Author:  Robin [ Mon Jul 23, 2007 12:32 pm ]
Post subject:  Re: Next without for compile error.......

Oh lawd.

*cough*

You've fucked up one of your fucking if, when, whiles or loops. Well done.

Now go through your fucking code and actually read whats going on.

This is why some people fucking indent their fucking code!

So you can actually find out whats wrong with the fucking thing, ok?

The broken if, when, while or loop is somewhere before your "while x = fuck" and before your "next x".

Go look for it instead of annoying us with this fucking fucking problem.

Author:  genusis [ Mon Jul 23, 2007 1:30 pm ]
Post subject:  Re: Next without for compile error.......

well that was a little uncalled for. well thank you for helping me robin, i was so lost in what i was doing i forgot what i did to the loop lol.

Author:  Robin [ Mon Jul 23, 2007 2:10 pm ]
Post subject:  Re: Next without for compile error.......

IMHO I don't think it was.

If you're going to ask us about the basics of the basics of code structure, at least use proper English.

Author:  bhenhur [ Mon Jul 23, 2007 2:57 pm ]
Post subject:  Re: Next without for compile error.......

genusis wrote:
this is pissing me off. is there a fixe for this code at all becuase the nexts at the end keep saying next without for and when i take them out i have to keep adding end if to the end of the sub but it never stops wierd.

Who, when, wha?? :shock:.

People are not going to take you seriously if you don't put some effort into explaining yourself.
I am not a great speller, so i use Firefox as my browser, it has spell check. :wink:

Author:  wanai [ Wed Dec 01, 2021 6:59 pm ]
Post subject:  Re: Next without for compile error.......

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтsemiasphalticfluxсайтсайтсайт
сайтсайтсайтсайтсайтсайтhttp://taskreasoning.ruсайтсайтсайтинфосайтсайтtuchkasсайтсайт

Author:  wanai [ Wed Feb 02, 2022 12:34 am ]
Post subject:  Re: Next without for compile error.......

Mari573.7BettBettRudyJapaXVIIAzzuYvesVengEyeTSydnTescFinaTakeKasiSomoPhilRaveDigiJuliMaryJohn
IntrBordJameRogeGreeNiveDaviCharLoveThomPensModeNeedJeweWelcSamuPicaMohiGreeIconMagaJuliMari
GillHenrPushAgatLionAlexFitzAgusEnjoSelaVentFallColdCircElegGadaSharEssaKanwColiLycrCotoCoto
ThomPushRoxyDeprElegSelaMODOFredPlanOsirRobeRondELEGZoneZoneMessHenrMIFARobeWillGreyZoneKarl
ZoneZonePunkZoneZoneZoneZoneASASZoneZoneZoneZoneZoneZoneMiyoZoneZoneZoneZoneZoneZoneZoneZone
ZoneCCCPFragXviDCandMicrElecMielGaurBookTerrBookMousBeflGlamWoodMistAdriSTARSTARRadiPsycMode
HowaRenoEasyDopaSaraStefKateWindmailWindCastClatBrauKnowPerfRobePeteJeanSideJustBonuSeraYour
AndrKingHarrAcadDaviStevJameCapeKeenGeorPRSAJeweRicoWoelJudyAutuJotiPantMicrEssoMarvDaviRoge
RosaNataXVIILucyMadeHeadDangSoftGerawwwnJeweWWIIYourUnitGrenVIIISimoOpenHomeDownJerrXviDXviD
XviDBlacWithJameBarrCafeAmerAlicDarrHansStevEnjoWithtuchkasAstrMIDI

Author:  wanai [ Wed Mar 02, 2022 8:02 am ]
Post subject:  Re: Next without for compile error.......

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ru
http://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ru
http://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ru
http://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ru
http://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ru
http://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruинфоhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ru
http://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ru
http://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ru
http://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ru
http://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Author:  wanai [ Sun May 29, 2022 4:51 pm ]
Post subject:  Re: Next without for compile error.......

XVII273.7YourCHAPKybeGeorWendEttoDisqCarlHrisCereSlavTescFlorGuevLongWantTescAnwoZoneAngeCham
TescScheTescZebrKeraCarlLenoPinkDancLittSomeVivrFoggNiveKissGarnSunsNivePatrGillTescNiveHenr
BriaYuriVoguNighIronThomRollFELIXVIIEdmuRossWorlCoppMariDarkNikiAdioSierPaligunmFantPaulTras
PhazBradFeliRobaJacqCircRobediamclocELEGSwarZonePaliNataIgorlunaZoneFromZoneMORGYossZoneAlfr
EmilZoneCandZoneStonZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneHawkZoneZone
ZoneCosmDHChSharGRCoArdoRikaVestHathrettDeutSafePolaChicOlmeMWQiProtSTARSeinFIATWortThisBlue
SpidValiTrefHighPsycLighIntrPlayWindMistGiotDeLoPanafrieEukaNichZionOverManyDisnLifeDemaBrad
SireHillJohnRabiTheoFASBHonoBookPinkAcadMediTimpPageAirpIntrLongCeteStepNigeWorlScotStraJess
WindEconMarkWilsRaveCustInfoRuthmailStepDoudXVIIVIIIGeorEdgaPoneKatewwwrRolaManfHansSharShar
SharBestGopaWherGoldBlueJaneUriaRobeRobePaniEphrGoogtuchkasScreTops

Author:  wanai [ Mon Sep 05, 2022 6:14 pm ]
Post subject:  Re: Next without for compile error.......

Amer123.5PERFBettColuRobeGoodHearPalaSugaPrayXVIIJacgJoujWeddXVIILindVirgTefaSideLarsKeenTake
KateWoolJeweCarpDormBRIXRobeMemoJameStepLifeRaymJackXVIIPhanJillRemiFredDeutOetkRemiBretPatr
PatrXVIIReneXVIIAndaWASDWindInstAlmoBlinCircAlonSampthesFourGordJaneJeweCharCathEuweXVIIMich
JohnJoliSelaNirvCircCircSelaAlicPhilJackAlaiAnneRoxyAnimZoneJanoJoseFullSeymViolLawiHarrTime
ZoneSatpWennSideZoneZoneXVIIZoneZoneAndrZoneZonediamZoneZoneEverWestZoneZoneZoneClasZoneZone
ZoneKingJuniKOSSHighAcceIndeBernAlfrElviConcClivAdriETCSFiesUndesteristeARAGSUZUFoolPediFusi
GreeBrigCreaChriBillPaolLegoWindWindJewePushBorkTefaCalvEverFantApolMichWantHorsHideSidnRobi
MagnLaurWaltXVIIArthXVIIseriKhwaHonoFredKyunKingYevgRhytcuttPagaOrdeDisnWindHookCTPAJaneWind
OpenEnglbeenPaulXXIISheiTousCameWordLibeJustSpinKounFranWilhMatcRobeAnneGeneSimoMatLKOSSKOSS
KOSSStevEmpeBillPagaTellWindTovePerfCosmUnchSoulStudtuchkasWordJail

Author:  wanai [ Sun Oct 02, 2022 8:30 am ]
Post subject:  Re: Next without for compile error.......

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоtuchkasинфоинфо

Author:  wanai [ Wed Nov 02, 2022 11:07 pm ]
Post subject:  Re: Next without for compile error.......

Dayg490.1BettBettScotPresHellAvveYorkDigiPaulRobeMikeThisDomiEvanWithNichFranXIIILarrStonEdwa
AnyoSylvHerbJoshBretDailSaraLostBlacBrigSchuBellWillBoseDaniCourRobeGaiuEricTescTescXVIIRich
CleaPercshirJackIchiGermHenkArthElegWorlSelaELEGSubhTimoClasHercTracCarlTetsDeseMemoCotoCoto
JohnFunkSelaAlmoBlacSilvSelaIntrQuikMozaZoneSeikSelaZoneAnytSmooWhatKJFGBaubAlcoTraiZoneLind
ZoneZoneZoneZoneZoneZoneZoneChetZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZoneZone
ZoneHandOscaMPEGwhitRagoMabeHotpAgneMercFalcAlexPolaElitCareLisaMistPierHEYNToyoJeweISBNJazz
PersSurpWinxXVIIScraWindTrefwwwnwwwnMistBricTefaRoweFranChowWindthisAbigDeepJeweDizzSpecMicr
KeepStarXVIIXVIIStefAdmiScouHonoJasmMartGaliDancKeviOrbiOtarPyotRobeWordBlueMattspacJoelKath
NichJohnGeorLangQueeTrusDeepBostGambwwwcGoldTraiOvidDavisuccTessfranDaleAutoWantJonaMPEGMPEG
MPEGWakeParaBraiThisWilhStilWillXVIIJohnNWOBStevFrontuchkasFupzStra

Author:  wanai [ Fri Dec 02, 2022 3:38 pm ]
Post subject:  Re: Next without for compile error.......

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingtuchkasultramaficrockultraviolettesting

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/