Page 1 of 1

any help fix my Amilion app,

Posted: Mon Nov 22, 2021 2:38 pm
by leavereality
So try to do an update to my little app, but keep hitting a wall, it says there a error on line 3387, I checked and cant find anything wrong, I tried to just delete the page and see if it would run/compile then, but nope UID error, I dont know what the issue it, any one help,

here the file
https://amigang.com/software/amilionbeta.lha

Please dont share, the program will be made open source on 2/2/22 so its not the end of the world if you leak it, but if you like to look at my daft little program and can help, that be great!

wish i was better at this programming lark.

Re: any help fix my Amilion app,

Posted: Mon Nov 22, 2021 3:08 pm
by jPV
The line 3387 in the .hws file looks like this:

Code: Select all

IF Power = 2 then host-run chromium-browser https://ebay.co.uk ")
Other lines around it look like this:

Code: Select all

IF Power = 2 then Execute("host-run chromium-browser https://wikipedia.org ")
So, that one particular line (3387) seems to be missing

Code: Select all

Execute("
from the middle of the line. I haven't loaded this into Designer, but most likely this is a typo in some embedded code block you have written for some page or object.

Re: any help fix my Amilion app,

Posted: Tue Nov 23, 2021 11:46 am
by leavereality
Yay, fixed it!!!

Big thanks once again!

I opened the file in NotePad++ on windows and the error line are massively out, as this was on line 4735, I use this as it has the handy Hollywood plugin, so lesson learned not to trust that program again, what program do you edit on? CodeIDE?

But Cheers again!