Author Topic: Easy Code question (with GoAsm)  (Read 2967 times)

garyhess

  • Guest
Easy Code question (with GoAsm)
« on: February 06, 2013, 09:47:32 PM »
I've been using Easy Code (with GoAsm) since July 2012 and I've found it to be remarkably stable. But I finally have done something that seems to crash the editor:

Code: [Select]
frmdata_3 DATABLOCK_BEGIN

--AaB03x
Content-Disposition: form-data; name="submit"

Upload file
--AaB03x
Content-Disposition: form-data; name="file"; filename="file4.txt"
Content-Type: text/plain

... contents of file1.txt ...
--AaB03x--
DATABLOCK_END

I believe the problem is related to the automatic syntax checking (?), which is a very useful feature and I hate to turn it off. Another related problem is that the Easy Code editor is sometimes changing the context of this data block.

Any ideas? I also have defined the data block differently and it works, but the above definition is a lot clearer.

Alternate data definition:

Code: [Select]
frmdata_2 DB '', 0DH, 0AH
DB '--AaB03x', 0DH, 0AH
DB 'Content-Disposition: form-data; name="submit"', 0DH, 0AH
DB '', 0DH, 0AH
DB 'Upload file', 0DH, 0AH
DB '--AaB03x', 0DH, 0AH
DB 'Content-Disposition: form-data; name="file"; filename="file2.txt"', 0DH, 0AH
DB 'Content-Type: text/plain', 0DH, 0AH
DB '', 0DH, 0AH
DB '... contents of file1.txt ...', 0DH, 0AH
DB '--AaB03x--', 0DH, 0AH

BTW: I'm uploading a file to a remote server running PHP. The code works (but the editor crashes/automatic modifications are a problem).

Any thoughts on how to handle this?

Thanks!
Gary

rsala

  • Member
  • ***
  • Posts: 296
    • Easy Code
Re: Easy Code question (with GoAsm)
« Reply #1 on: February 07, 2013, 07:45:51 AM »
Hi Gary,

Thanks for using Easy Code and reporting the problem. I will try to find the error as soon as I can.

Regards,

Ramon
EC coder

garyhess

  • Guest
Re: Easy Code question (with GoAsm)
« Reply #2 on: February 08, 2013, 06:37:56 AM »
Hi Ramon,

Thanks for replying! I thought of writing you directly. Yesterday I was having trouble reproducing the problem, but now I just got it to occur again. In the editor options, I deactivated only "Keyword syntax correction".

However, this data block "frmdata_3" is defined in a larger file, so maybe I should send you the whole file or upload it here? The error doesn't occur in a separate project with just that code.

Gary

rsala

  • Member
  • ***
  • Posts: 296
    • Easy Code
Re: Easy Code question (with GoAsm)
« Reply #3 on: February 09, 2013, 09:55:45 PM »
Hi Gary,

Yes, I have not been able to reproduce the problem, so you should send me the whole file please (or even better, the whole project causing the error). That way I will see what's happenning and fix the problem.

Thanks in advance,

Ramon
EC coder