WTF! An error with my comments?!

shaosean at unitz.ca shaosean at unitz.ca
Thu Mar 17 20:08:15 EST 2005


I added about 5 lines of code to the smtp library and now runrev refuses to do anything with it 
stating there's an error with the comments (well it looks like the second line of the stack script 
irregardless of what's there).

Here's the error from the error dialog
     	executing at 7:50:05 PM
Type	Object Name:
Object	libSmtp250
Line	# File Name .....: libSmtp
Hint	2

The stack script window closes fine (no errors) and it can be compiled into an application (but 
even the application doesn't work).

Now, before the changes the file was opened by double-clicking it and RunRev 2.5.1 opened it,  
Quit (no to changes) and deleted 2.5.1. Re-opened in 2.0.3 and proceeded to make the 
additions (some comments, a new script-wide variable one line of code to an exist handler and 
the introduction of a new one-line handler). File was then saved, a button was added to run 
three handlers (2 old handlers and the new one)

on mouseUp
  libSmtpConnect "192.168.0.250"
  answer libSmtpGetGreeting()
  libSmtpClose
end mouseUp

The usual backup wasn't made as this was a simple addition and there shouldn't be any 
problems *sigh*

A new stack was created, the code was copy-pasted into it - same error.
The Rev customPropertySet was deleted - same error.
Code was copy&pasted into TextEdit (no rtf) and back into a new stack - same error.
Code was copy&pasted into TextEdit (no rtf) and back into the existing stack - same error.

Other than perhaps typing everything back in, any ideas?

Mac OS X .3.8
RunRev 2.0.3


-Sean




More information about the use-livecode mailing list