Home | Reviews | GUIpedia | Forum | Fun500
jasonwoodland | Good scripterGeode's scripter is probably the worst scripter ever. has anyone got a good one that i can edit for free? | 2009-09-08 | 4:16 AM |
Brandon | Re:Good scripterIf you would like the one from Fun500 4, I could dig it up, although it is in FreeBASIC and really isn't the best. | 2009-09-08 | 8:53 AM |
jasonwoodland | Re:Good scripterThat would be great! it sounds much better than programming in memory locations :cheer: | 2009-09-08 | 6:28 PM |
Brandon | Re:Good scripterOk, I start school in the morning, so it might be a couple days, but I'll get it. | 2009-09-08 | 6:54 PM |
pharoah | Re:Good scripterI can send you the code to Cobalt's if you want. Beats Brandon's, hands down :P. | 2009-09-08 | 10:25 PM |
jasonwoodland | Re:Good scripterWhat's cobalt? I need F/QBasic code only. | 2009-09-09 | 2:01 AM |
SonicBrit | Re:Good scripterI think Cobalt's the name of his GUI. Also I'm curious, what is it that you don't like about your current scripter? Too Slow? Difficult in adding new features? Does something you don't want it to? Doesn't do something you want it to? Etc.. | 2009-09-09 | 4:24 PM |
jasonwoodland | Re:Good scripterIt takes a lot of code to do a little thing. and memory is stored in numbers, commands only take memory locations to read, no + - / or *. ex: GEX (Geode EXecution), sorry GIMI. LET,0,"Hello " LET,1,"There!" LET,2,50 LET,3,60 LET,4,&HFFFFFF LET,5,&H0 S_PLUS,6,0,1 GFX_PRINT,2,3,6,4,5 BASIC FUTURE.PRINT 50, 60, "Hello " + "There!", &HFFFFFF, &H0 lol. ------------------------------------------------- I want to get it looking something like this: LET,A,"Hello ",B,"There " LET,C,50,D,60,E,&HFFFFFF,F,&H0 GFX_PRINT,C,.,D,.,A,+,B,+,"How are you?",.,E,.,F,. | 2009-09-09 | 6:22 PM |
SonicBrit | Re:Good scripterYou'll have to post the code to your scripter, but depending on how your handling your keywords you can make some modifications. To be able to have 'Let' handle more than one var, you would need to put it in a loop, as in get var name, then get value, then if there is still more left then repeat the loop. For the print you will need to have it resolve your vars if your current version expects the var names. Also I would only use commas to separate values, not to separate keywords, as in. LET A,"Hello ",B,"There " LET C,50,D,60,E,&HFFFFFF,F,&H0 PRINT C,D,A+B+"How are you?",E,F Also I didn't understand why you where using full stops/periods '.' , (full stop is English, Period is American, so just covering all bases :P) | 2009-09-10 | 7:19 PM |
2021 Brandon Cornell