sub-main

In computer programming, an entry point is a point in a program where the execution of a program begins, and where the program has access to command line arguments. To start a program's execution, the loader or operating system passes control to its entry point. (During booting, the operating system itself is the program). This marks the transition from load time (and dynamic link time, if present) to run time.
For some operating systems and programming languages, the entry point is in a runtime library, a set of support functions for the language. The library code initializes the program and then passes control to the program proper. In other cases, the program may initialize the runtime library itself.In simple systems, execution begins at the first statement, which is common in interpreted languages, simple executable formats, and boot loaders. In other cases, the entry point is at some other known memory address which can be an absolute address or relative address (offset).
Alternatively, execution of a program can begin at a named point, either with a conventional name defined by the programming language or operating system or at a caller-specified name. In many C-family languages, this is a function named main; as a result, the entry point is often known as the main function.In JVM languages such as Java the entry point is a static method named main; in CLI languages such as C# the entry point is a static method named Main.

View More On Wikipedia.org
  1. B

    6mm kitchen sub-main

    Howdy All, just after a 2nd opinion as i'm doubting myself. I went to a property to look at replacing the ccu, I noticed what I thought was a 6mm cooker circuit on 32a But found it was feeding another ccu in the kitchen (Extension) I couldn't open the ccu as it was boxed very tightly!! it has...
  2. D

    Sub-main to the garage in house I just bought

    Hello all. 17th edition sparky here, but not been on site for the last 3/4 years (had a bit of an accident). Just bought a house with a 16mm 3 core SWA, 15m long, clipped around the side of the house low level. This feeds the double garage. It has it's own 100A fused isolator in a kitchen...
  3. Msitekkie

    Smallest Sub-Main board with selectivity

    I need to fit a small sub-main board by my service head, to feed a garage unit in an outbuilding. I am thinking of using a Chint shower unit (Screwfix), but replacing the internals with a S Type Time Delayed RCD. Is this a valid approach for a sub-main, as opposed to using a switch/fuse unit...
  4. P

    315A sub-main options

    A potential customer of ours was asking about having more power made available. Just now it is just a casual request and it looks like they want 9-10 * 32A TPN supplies so, say, 315A total. We can get that much easily from the bus-bar chamber around 100m away but from a moment on an on-line...
  5. t01474

    Sub-main protection on farm / equestrian area

    Evenning everybody. I've been asked by a farmer friend to remove a CU inside a trailer and replace it with a waterproof one in an enclosure outside. The CU currently feeds three stable units via three seperate 4mm SWA radials. With regards to RCD protection what does anybody recommend? Ive been...
  6. M

    Upgrade sub-main CU (for registration)

    Hi all, Be kind it's my first post. I've been asked by a friend of the family to do some work on the electrics, which is good as I hoping to get my Part P assessment done this year. The house had a LOT of work done to it about 10 years ago, including a substantial extension and a garage...
  7. S

    Would you run a sub-main..

    The unit we are working at, has a 3phase proteus (yuk!) DB at the front of the unit. The unit is approx 33mtrs long by approx20mtrs wide. The guy who has asked me to help him out on the job has agreed to run power lights etc circuits to various areas. Now the sockets they have marked out...

OFFICIAL SPONSORS

Electrical Goods - Electrical Tools - Brand Names Electrician Courses Green Electrical Goods PCB Way Electrical Goods - Electrical Tools - Brand Names Pushfit Wire Connectors Electric Underfloor Heating Electrician Courses
These Official Forum Sponsors May Provide Discounts to Regular Forum Members - If you would like to sponsor us then CLICK HERE and post a thread with who you are, and we'll send you some stats etc
This website was designed, optimised and is hosted by Untold Media. Operating under the name Untold Media since 2001.
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock