Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Re: Borwser's OS ?
February 12, 2005, 3:20 am
rate this thread
Re: Borwser's OS ?
Ah, yes, well then when he publishes his solution we will undoubtedly
correct his intentional mistake and tell us that to get the OS one would
parse the superglobal variable entry
rather than use some so called PHP "command" which PHP has none of IRRC
unless RtS is confusing command with function.
Re: Borwser's OS ?
Go over to the PHP manual and look up "print".
Print() is not acually a real function (it is a language construct) ...
PHP does not have "commands". It has language constructs and functions, just
like C[++] and family, from which it is loosely derived.
Basic (IIRC from the many years ago that I last used it) uses the term
Since basic is not an extensible language like C or PHP it has a number of
constructs and many many "commands". The collection of commands is fixed.
C[++] (and PHP) has only a few constructs. That's it. The rest of the
"language" is functions, constructed from these language constructs.
This is particularly evident with C[++]. Omit the function extensions (that
is omit including any .h files and libraries) and you have quite a small
number if primatives, namely things like +, -, ++ etc. To do any real work
one *requires* the function libraries. In particular C++ does not, in its
native form, have any means of interacting with the user (eg, a UI). It does
not have a "print" construct. "Printing" must be done with library
functions and at the bottom line these are written in assembly language
(targeted to the appropriate processor), not C[++].
PHP is more generous. It includes extended language constructs such as
print. They are not, however, commands.
- » Yet another CSS layout problem/issue - I'll get there soon!?
- — Previous thread in » HTML Markup Language