by: Fernando Rodriguez |
last post by:
Hi,
What's the syntax to add an attribute to a function form the function body?
For example, instead of doing:
def fn():
return 1
fn.error = "Error message"
print fn.error
|
by: Thomas Mlynarczyk |
last post by:
Hi,
I stumbled over a strange behaviour of Mozilla. When I want to access the
caller property of a function that was not called from within another
function, Mozilla seems to abort the script....
|
by: javialmeida |
last post by:
Hello everybody. I've been having a look to the c++ FAQ but couldn't
get any help there.
Does anybody know if is it possible to access a static variable
declared within a function?.
Something...
|
by: BabyBlue |
last post by:
I have a function like this:
function get_articles($cat=1,$numberposts=1);
it can be used:
get_articles(cat=4&numberposts=6);
//will display 6 posts from category 6
then I want to use that...
|
by: paulnamroud |
last post by:
Hi everybody,
When i try to excute a function i got the following error message:
" Only functions and extended stored procedures can be executed from within a function."
I wrote the following...
|
by: Mikhail Kovalev |
last post by:
Hi all,
I have a file which is to be included in another script and which
takes several seconds to load(!), and which is actually not always
used by the script, so instead of using include or...
|
by: =?Utf-8?B?TWFub2o=?= |
last post by:
Hi Everyone,
Is it possible to display html table in the body content of the mail
using mailto function. I have tried encoding this, but it displays as text.
|
by: mpjones2 |
last post by:
I'm trying to organize some code I've written and was wondering if
anyone can provide any suggestions on an equivalent to #Region that
can be used within a function to collapse sections of code...
|
by: Erwin Moller |
last post by:
Hi all,
Is it possible (PHP5.2) to find the name of a variable used in the
caller of a function from within the function itself?
Or to be more clear:
...php code..
$result = foo($abc);...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|