1. A Question AND Responses (To Others)
How do you detect if an interrupt has anything attached to it?
[ Shrouding ]
Andy Kurnia wrote : "Can one have an UNshrouded program bound, and e.g. have it
self-modify upon running?"
No bind automatically shrouds.
[ Memory ]
Alan Tu wrote : "...how does that relate to the megs of memory I have. Do the
addresses just start from 1. These numbers are bytes,right? "
Yes they are bytes but they start at 0.
Euphoria keeps about 12 bytes of overhead for every sequence.
[ a ? b : c ]
It might be nice to add it to the editor so when you hit enter it automatically
expanded too...
if a then b else c end if
[ Short Curcuiting ]
Keywords : sand and sor
[ 300 Line ]
The Euphoria 300 line limit is easy to get around.
[ Length() ]
Ralf have this function [Not sure if it will work]
function length( object x )
if atom( x ) then
return 1
end if
return length( x )
end if
[ Return ]
"If I have a main program, and I call a global procedure within an
include file, do I need to put return at the end of the global procedure?"
Don't put a return at the end of a procedure it gives the most cryptic error
message. I did it and it had me stumped for ages.
In general you only need return at the end of a *function* to give a value back
to the caller. (You can place returns elsewhere, but it's best not to.)
---
Sincerely,
Mathew Hounsell
Mat.Hounsell at Mailexcite.Com
Free web-based email, Forever, From anywhere!
http://www.mailexcite.com