Some things I've forgotten
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Some things I've forgotten
After a break of seven years I've forgotten a few simple things:
1. How do I prevent the system variables (which I've never used) from appearing in the debugger?
2. In an old programme I have "send "flash" to...". Where do I find the code for "flash"?
3. How do I retrieve the index number of an array element rather than the contents?
1. How do I prevent the system variables (which I've never used) from appearing in the debugger?
2. In an old programme I have "send "flash" to...". Where do I find the code for "flash"?
3. How do I retrieve the index number of an array element rather than the contents?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: Some things I've forgotten
Hi.
This is Thierry's hack. Open the debugger script. Find the function "revDebuggerValidGlobalNames" Replace with:
Not sure what # 2 is.
For # 3, how about "answer the keys of yourArray".
Welcome back.
Craig Newman
This is Thierry's hack. Open the debugger script. Find the function "revDebuggerValidGlobalNames" Replace with:
Code: Select all
function revDebuggerValidGlobalNames
local tGlobalsRaw
put the globals into tGlobalsRaw
replace comma with return in tGlobalsRaw
filter tGlobalsRaw without "*(x86)"
filter tGlobalsRaw without "$*"
filter tGlobalsRaw without "grev*"
replace return with comma in tGlobalsRaw
return tGlobalsRaw
end revDebuggerValidGlobalNames
For # 3, how about "answer the keys of yourArray".
Welcome back.
Craig Newman
Re: Some things I've forgotten
Thanks for the welcome back Craig.
The full story is that at end '08 my computer died a sudden death.
After a couple of weeks messing about including a new motherboard,
power supply, memory, it still wouldn't work.
By that time three weeks had passed and I realized I could live without
it so went to the local library. Don't know how many books I read but
when I couldn't find anything that interested me (about end '13) I
bought a new computer (well to be truthful an ex-corporate HP7800
for $A50) and it's been a pleasure to use (still with XP).
In the interim I've had my 78th birthday. I claim the oldies prize.
Any other contenders?
The full story is that at end '08 my computer died a sudden death.
After a couple of weeks messing about including a new motherboard,
power supply, memory, it still wouldn't work.
By that time three weeks had passed and I realized I could live without
it so went to the local library. Don't know how many books I read but
when I couldn't find anything that interested me (about end '13) I
bought a new computer (well to be truthful an ex-corporate HP7800
for $A50) and it's been a pleasure to use (still with XP).
In the interim I've had my 78th birthday. I claim the oldies prize.
Any other contenders?
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: Some things I've forgotten
Jacque and I are probably 2 and 3. I think all the others cannot remember rotary phones.
Craig
Craig
Re: Some things I've forgotten
Dunbarx
That code snippet sure is powerful.
I copied it into a text file and put it in a directory
under LC.
When I restarted LC the system variables didn't
appear in the debugger.
Must have know I was out to get it.
Thanks for your interest.
Later: Spoke too soon! They're back. Will have to take
severe measures.
That code snippet sure is powerful.
I copied it into a text file and put it in a directory
under LC.
When I restarted LC the system variables didn't
appear in the debugger.
Must have know I was out to get it.
Thanks for your interest.
Later: Spoke too soon! They're back. Will have to take
severe measures.
Is age an excuse? Eighty-four and counting.
Programming powered by coffee.
Programming powered by coffee.
Re: Some things I've forgotten
Not that it helps for those who don't like them, but the system variables are there because it is possible for scripts to declare their own, so they need to be displayed in the variable watcher. I imagine the editor goes to some lengths to retain them.
Oh, and anyone who worked with HyperCard early on is at least partially fossilized by now.
Oh, and anyone who worked with HyperCard early on is at least partially fossilized by now.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com