NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: hilton on September 27, 2010, 03:45:10 AM

Title: Code Left behind after deleting a local variable
Post by: hilton on September 27, 2010, 03:45:10 AM
Hi folks,

I had a local variable loc:size in a procedure which I used to store the size of a product and then displayed when required.  Being a novice and learning all the time I realised that I could use the ::comment to display the product description plus the size.  I then removed embedded code that referred to loc:size and then deleted loc:size from the local variables using the Data Pad.

When I tried to compile there was a missing routine Value::loc:size.  What had happened was that the code (do Value::loc:Size  !1) had been left behind in the generated code.  So to make it compile I simply added a routine of the required name.

I would like to get rid of the offending code - any ideas please.

Bye,
Hilton.
Title: Re: Code Left behind after deleting a local variable
Post by: hilton on September 27, 2010, 04:10:58 AM
Hi Folks,

My apologies, I have found the offending item.  I forgot to remove loc:size from a Client Side reset.  I am sorry if I caused anyone to waste any time.

Bye,
Hilton.