BPsite Forums
May 04, 2024, 10:59:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: BPSITE FOREVER!
 
  Home Help Search Members Login Register  
  Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 34
61  BPSITE / BPSITE Headquarters / The Captcha on: February 28, 2007, 03:59:47 AM

Abbreviation for Unix/Linux-type systems.
62  BPSITE / BPSITE Headquarters / The Captcha on: February 28, 2007, 01:24:38 AM

For the curious, it's been finished for a few days now - SS and myself are battling with Invision's demented innards, and the oddness of Windows vs. Nix filesystems.  Hopefully it'll be working again before too long.  :cool:  
63  BPSITE / BPSITE Headquarters / The Captcha on: February 23, 2007, 12:00:07 AM

Heh.  I remember writing a Word Macro ages ago to change the extension of all of the files in a directory.  As VBA has useless file support I used sendkeys to do the job, sending things like alt+tab, tab & F2.  You could sit down and actually watch the thing working, at a rate of about two files a second. Smiley

Sadly, it's not possible to shortcut this, as the images need to be put into a different part of the array depending on what they actually are.  Although... as the names are uniform now (...thanks to much, much typing. Grr...), it might actually be quicker to just strip the extension and number from the name to find the category, and print out something useful like TheArray[][$FoundCategory] = $Origfilename; - which'll save a fair while, hopefully.  Cheers. Smiley
64  BPSITE / BPSITE Headquarters / The Captcha on: February 22, 2007, 06:40:22 PM

There we go - the images are _finally_ done.  I'll put them into The Array later on, which'll mean an unhealthy amount of numbingly repetitive typing.  :crazy:

I've made something of a U-turn with the hashing; it slows things down too much when The Array has a decent number of images in it.  So that's a load of coding wasted, although I did deduce a rather useful timesaver to make debugging anything with hashes a lot easier in future.

Should be finished tonight or tomorrow morning, unless something combusts.  :cool:
65  BPSITE / BPSITE Headquarters / The Captcha on: February 21, 2007, 03:16:28 AM

Fef.  I'm working on a paid site at the moment, which is sucking up most of my 'spare' time.  But I have about an hour before I collapse, so why not.
66  BPSITE / BPSITE Headquarters / Funny Videos on: February 20, 2007, 09:00:27 PM

Nine megs X10 - 15 views = 90-135 meg drain.  :unsure:  
67  BPSITE / BPSITE Headquarters / Funny Videos on: February 17, 2007, 06:29:15 PM

I'll have a poke about for free hosting... it's a bit too huge to put on Garjen.

Another video, but not too remarkable
68  BPSITE / Arts & Literature / Monty Python on: February 12, 2007, 06:35:58 AM
Quote
The Brave, Brave Sir Robin song. Smiley

:ph34r: :alien:
69  BPSITE / Geek's Corner / Compiler on: February 11, 2007, 12:51:47 AM

I suppose this is my hint to finish the Captcha, then.  Grr. :angry:  
70  BPSITE / Games and Gaming / CyberNations on: February 10, 2007, 01:33:57 AM

Every time you go to church, God resurrects a kitten.  So quickly pop into one next time you're passing, and it'll all even out in the end. Smiley
71  BPSITE / BPSITE Headquarters / Humerous images. on: February 08, 2007, 12:44:55 AM






(Also of note, but not an image)
72  BPSITE / BPSITE Headquarters / Humerous images. on: February 07, 2007, 01:09:46 PM

Microsoft's idea of a shortcut.  Cheesy
73  BPSITE / BPSITE Headquarters / Birthdays on: February 06, 2007, 06:14:30 AM

Congratulations, Firefairy - you're in excellent shape considering you're an antique. Smiley
74  BPSITE / BPSITE Headquarters / Driving on: February 06, 2007, 06:12:14 AM

Twerp.  That's wrong on more levels than I care to think about, although your country's as much to blame as you.

England happens to use the pound, and hopefully always will.  And yes, the pound is worth about two dollars, but again that's your country's fault, as it apparently can't run an education system let alone the economy.
75  BPSITE / Geek's Corner / UNIX on: February 02, 2007, 06:56:18 PM
Not a clue about C, sorry to say.

In PHP, which is quite similar, one way around it would be to have bar() inside another function, and call that within the file that you want to be able to access bar().

Why on earth would you not want it to be able to reach a particular function, though?  If you don't want it, don't call it, and if you want something with the same name, just change it's name and use that instead.

Code:
function One () {
     print 'One<br />';
}

function Two () {
     function TwoA () {
          print 'TwoA<br />';
     }
}

One();
Two(); //don't call Two() if you want to hide TwoA
TwoA(); //Depending on how C handles things, you might want to wrap this in an 'if function exists' type clause.
Pages: 1 ... 3 4 [5] 6 7 ... 34
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!